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
When binding a nullable Function property inference should remove the?
(when-some [cb (-> (m/ContextMenuButtonItem .onPressed nil) .-onPressed)] (cb))
will generate
final void Function()? some$6054_$AUTO_$1=const f_material.ContextMenuButtonItem(onPressed: null, ).onPressed; if((null == some$6054_$AUTO_$1)){ return null; } final void Function()? cb$1=some$6054_$AUTO_$1; return cb$1();
Which throws at compile time
Try calling using ?.call instead. Performing hot reload... return cb$1(); ^ Try again after fixing the above error(s).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When binding a nullable Function property inference should remove the?
will generate
Which throws at compile time
The text was updated successfully, but these errors were encountered: