We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This fails with MyAbstract should be MyType and MyAbstract should be { foo : Void -> Void }:
MyAbstract should be MyType
MyAbstract should be { foo : Void -> Void }
abstract MyAbstract(Int) { public function new() { } public function foo() trace( "Foo" ); } typedef MyType = { function foo() : Void; }; class Main { static function main(){ var a : MyType = new MyAbstract(); } }
The text was updated successfully, but these errors were encountered:
I think that's correct, I can't see how we would resolve the anon field access to a static abstract field.
Sorry, something went wrong.
Yea, I guess this is impossible.
Sorry. :)
No branches or pull requests
This fails with
MyAbstract should be MyType
andMyAbstract should be { foo : Void -> Void }
:The text was updated successfully, but these errors were encountered: