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
Regular static extensions with on typedefs with using:
using
using Main.Tools; class Main { static function main() { ({value: 0} : A).print(); } } typedef A = {value:Int}; class Tools { public static function print(a:A) { trace(a.value); } }
Consequently, it feels quite inconsistent that this doesn't work with the new @:using metadata:
@:using
class Main { static function main() { ({value: 0} : A).print(); // A has no field print } } @:using(Main.Tools) typedef A = {value:Int}; class Tools { public static function print(a:A) { trace(a.value); } }
The text was updated successfully, but these errors were encountered:
#8188
Sorry, something went wrong.
Simn
No branches or pull requests
Regular static extensions with on typedefs with
using
:Consequently, it feels quite inconsistent that this doesn't work with the new
@:using
metadata:The text was updated successfully, but these errors were encountered: