-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
frog doesn't report error/warning if returning value from void function #404
Comments
This comment was originally written by [email protected] |
This appears to be fixed (at least, if "foo" is called): /Users/jmesserly/scratch/test.dart:2:10: warning: type "int" is not assignable to "void" I suspect this bug predates our checking of return types. Added Fixed label. |
This comment was originally written by [email protected] Yes, works great now. |
This comment was originally written by [email protected] Added Verified label. |
This is a bug on JSON.decode. This should match the hand fix in #404. [email protected] Review URL: https://codereview.chromium.org/1579223002 .
This issue was originally filed by [email protected]
void foo() {
return 6;
}
gives no errors or warnings in frog.
The text was updated successfully, but these errors were encountered: