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
dart2js does not handle const map literals #12793
Labels
Comments
The related dart2dart issue is issue #12794. |
Removed Priority-Unassigned label. |
Added this to the M7 milestone. |
Removed this from the 1.6 milestone. |
Removed Oldschool-Milestone-1.6 label. |
This only happens when the constant is used as expression statement (i.e. dead code). |
Fixed in r42356. Added Fixed label. |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The tests
language/const_var_test.dart
language/map_literal3_test.dart
Fails.
If the lines
const <String, int>{};
const <String, num>{"floyd": 100};
are removed from the tests they pass.
The text was updated successfully, but these errors were encountered: