Remove @:generic from Promise at macro time.

This prevents an inconsistent "Field has no new expression" bug.
This commit is contained in:
player-03
2023-04-15 14:57:19 -04:00
committed by GitHub
parent 2b8e3c439e
commit 88b6a7e14b

View File

@@ -44,7 +44,7 @@ package lime.app;
@:noDebug
#end
@:allow(lime.app.Future)
#if (!hl && !js)
#if (!hl && !js && !macro)
@:generic
#end
class Promise<T>