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
|
@:noDebug
|
||||||
#end
|
#end
|
||||||
@:allow(lime.app.Future)
|
@:allow(lime.app.Future)
|
||||||
#if (!hl && !js)
|
#if (!hl && !js && !macro)
|
||||||
@:generic
|
@:generic
|
||||||
#end
|
#end
|
||||||
class Promise<T>
|
class Promise<T>
|
||||||
|
|||||||
Reference in New Issue
Block a user