Closed
Description
This issue was originally filed by [email protected]
The Dart spec v0.006 states that any expression can form a statement.
However, Dart VM 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"];
}