-
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
Using literals in postfix expressions fails in dartc #2439
Comments
Removed Area-Compiler label. |
Added this to the M1 milestone. |
Set owner to @scheglov. |
Actually this is parser problem. FAILED: dartc-none release_ia32 co19/Language/10_Expressions/26_Postfix_Expressions_A01_t01 stderr: Command line: xcodebuild/ReleaseIA32/analyzer/bin/dart_analyzer --ignore-unrecognized-flags --error_format machine /Users/scheglov/Source/Dart/dart/tests/co19/src/Language/10_Expressions/26_Postfix_Expressions_A01_t01.dart Set owner to @bwilkerson. |
http://codereview.chromium.org/10823090/ Added Fixed label. |
This issue was originally filed by [email protected]
Dartc is failing co19 tests like:
Language/10_Expressions/26_Postfix_Expressions_A01_t01
There are different tests that instantiate a literal function, map, or list and then try to use postfix operators on them. For example:
file:/home/zundel/dart/tests/co19/src/Language/10_Expressions/26_Postfix_Expressions_A01_t01.dart:76: Illegal assignment to non-assignable expression
75: //mapLiteral
76: try { {"1" : 1, "2" : 2}["1"]++; } catch(var e) {}
The text was updated successfully, but these errors were encountered: