From 312dd70d72cdb785c88ac206063d7139b602ac3a Mon Sep 17 00:00:00 2001 From: Joseph Cloutier Date: Tue, 31 May 2022 02:06:34 -0400 Subject: [PATCH] Never inline `ForegroundWorker` functions. The early `return` is incompatible with it. --- src/lime/system/ForegroundWorker.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lime/system/ForegroundWorker.hx b/src/lime/system/ForegroundWorker.hx index 686efaa58..084f48ad0 100644 --- a/src/lime/system/ForegroundWorker.hx +++ b/src/lime/system/ForegroundWorker.hx @@ -162,6 +162,8 @@ class ForegroundWorkerBuilder switch (field.kind) { case FFun(f): + field.access.remove(AInline); + var qualifiedIdent:Array; if (field.access.indexOf(AStatic) >= 0) {