Remove @:generic from Promise.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user