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
Compiling with the macro enabled, I get this error: Null safety: Cannot cast nullable value to not nullable type
Null safety: Cannot cast nullable value to not nullable type
from this expression:
function myfunc(key:String):String { var tmp = mydict[key]; if (tmp != null) return (tmp:String); // here is the line it complains about //... }
The only way I can find to solve this is to disable null safety for the offending class, run mcover, then re-enable null safety
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Compiling with the macro enabled, I get this error:
Null safety: Cannot cast nullable value to not nullable type
from this expression:
The only way I can find to solve this is to disable null safety for the offending class, run mcover, then re-enable null safety
The text was updated successfully, but these errors were encountered: