Remove @:generic from Promise at macro time.
This prevents an inconsistent "Field has no new expression" bug.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user