Skip to content
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

Dartc: constant lists and maps can be modified. #1553

Closed
DartBot opened this issue Feb 6, 2012 · 1 comment
Closed

Dartc: constant lists and maps can be modified. #1553

DartBot opened this issue Feb 6, 2012 · 1 comment
Labels
closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Feb 6, 2012

This issue was originally filed by ms...@unipro.ru


What steps will reproduce the problem?
Run the following tests:
main() {
  (const []).addLast(1);
}

or

main() {
  (const {})["k1"] = 1;
}

What is the expected output? What do you see instead?
Expected: runtime error
Actual: tests execute without errors

What version of the product are you using? On what operating system?
Dartc r3931. OS: Ubuntu 10.04

Please provide any additional information below.

@DartBot
Copy link
Author

DartBot commented Feb 6, 2012

This comment was originally written by zundel@google.com


Added Area-Compiler, Duplicate labels.
Marked as being merged into #176.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

1 participant