We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
r3865 (cloned from issue #1228)
The Dart spec v0.006 states that any expression can form a statement.
However, dartc yields compile error if function expression, list literal, or map literal are used as statements:
main() { void() g{}; {"1" : 1, "2": 2}; [null, 0, "O"]; }
The text was updated successfully, but these errors were encountered:
Removed Area-Compiler label. Added Area-Analyzer label.
Sorry, something went wrong.
Added this to the M1 milestone. Removed Priority-Medium label. Added Priority-Low label.
The first case (a function literal) is still a valid problem.
The second case is no longer allowed by the spec. (see section 11.2 and issue #3777).
The third case has been fixed.
Set owner to @bwilkerson.
http://codereview.chromium.org/10823014/
Note that the example in this issue is not valid, but dartc was producing a warning that it should not have been.
Added Fixed label.
bwilkerson
No branches or pull requests
r3865 (cloned from issue #1228)
The Dart spec v0.006 states that any expression can form a statement.
However, dartc yields compile error if function expression, list literal, or map literal are used as statements:
main() {
void() g{};
{"1" : 1, "2": 2};
[null, 0, "O"];
}
The text was updated successfully, but these errors were encountered: