Remove @:generic from Promise.
This commit is contained in:
@@ -40,7 +40,7 @@ import lime.utils.Log;
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#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
|
||||
|
||||
@@ -44,9 +44,6 @@ package lime.app;
|
||||
@:noDebug
|
||||
#end
|
||||
@:allow(lime.app.Future)
|
||||
#if (!hl && !js && !macro)
|
||||
@:generic
|
||||
#end
|
||||
class Promise<T>
|
||||
{
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user