Remove @:generic from Promise.

This commit is contained in:
Joseph Cloutier
2024-10-01 20:45:19 -04:00
parent c1de3bacb6
commit 8b117b7d7b
2 changed files with 1 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ import lime.utils.Log;
@:fileXml('tags="haxe,release"') @:fileXml('tags="haxe,release"')
@:noDebug @:noDebug
#end #end
@:allow(lime.app.Promise) /*@:generic*/ class Future<T> @:allow(lime.app.Promise) class Future<T>
{ {
/** /**
If the `Future` has finished with an error state, the `error` value If the `Future` has finished with an error state, the `error` value

View File

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