Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove @:generic from Promise. #1846

Open
wants to merge 1 commit into
base: 9.0.0-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lime/app/Future.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions src/lime/app/Promise.hx
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ package lime.app;
@:noDebug
#end
@:allow(lime.app.Future)
#if (!hl && !js && !macro)
@:generic
#end
class Promise<T>
{
/**
Expand Down
Loading