diff --git a/src/lime/app/Future.hx b/src/lime/app/Future.hx index 64f36c520..2c89c0ce1 100644 --- a/src/lime/app/Future.hx +++ b/src/lime/app/Future.hx @@ -40,7 +40,7 @@ import lime.utils.Log; @:fileXml('tags="haxe,release"') @:noDebug #end -@:allow(lime.app.Promise) /*@:generic*/ class Future +@:allow(lime.app.Promise) class Future { /** If the `Future` has finished with an error state, the `error` value diff --git a/src/lime/app/Promise.hx b/src/lime/app/Promise.hx index 627f32063..6b3392a64 100644 --- a/src/lime/app/Promise.hx +++ b/src/lime/app/Promise.hx @@ -44,9 +44,6 @@ package lime.app; @:noDebug #end @:allow(lime.app.Future) -#if (!hl && !js && !macro) -@:generic -#end class Promise { /**