From 88b6a7e14bad2f798f78fd6e5ca353540db9a149 Mon Sep 17 00:00:00 2001 From: player-03 Date: Sat, 15 Apr 2023 14:57:19 -0400 Subject: [PATCH] Remove `@:generic` from `Promise` at macro time. This prevents an inconsistent "Field has no new expression" bug. --- src/lime/app/Promise.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lime/app/Promise.hx b/src/lime/app/Promise.hx index 8b95ea254..627f32063 100644 --- a/src/lime/app/Promise.hx +++ b/src/lime/app/Promise.hx @@ -44,7 +44,7 @@ package lime.app; @:noDebug #end @:allow(lime.app.Future) -#if (!hl && !js) +#if (!hl && !js && !macro) @:generic #end class Promise