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

[Analyzer] no error when evaluation of a compile-time constant would raise an exception #8360

Closed
DartBot opened this issue Feb 6, 2013 · 5 comments
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. closed-obsolete Closed as the reported issue is no longer relevant

Comments

@DartBot
Copy link

DartBot commented Feb 6, 2013

This issue was originally filed by [email protected]


It was explained by Peter that both analyzer and VM should report errors where spec prescribes one.
However, analyzer reports none for co19 test Language/11_Expressions/11_Instance_Creation_A05_t02

@DartBot
Copy link
Author

DartBot commented Feb 6, 2013

This comment was originally written by [email protected]


by 'none' I mean no errors
there is an expected warning, however

@kasperl
Copy link

kasperl commented Feb 6, 2013

Added Area-Analyzer, Triaged labels.

@bwilkerson
Copy link
Member

Added this to the M4 milestone.

@bwilkerson
Copy link
Member

Removed this from the M4 milestone.
Added this to the Later milestone.

@jwren
Copy link
Member

jwren commented Aug 21, 2013

Numbers for co19 tests have changed due to the spec. The only remaining failing co19 tests that are failing in 12_Expressions/12_Instance_Creation_* are the following:

co19 issue #528, Const: wrong number of type arguments

Language/12_Expressions/12_Instance_Creation_A01_t02: fail, OK
Language/12_Expressions/12_Instance_Creation_A01_t05: fail, OK
Language/12_Expressions/12_Instance_Creation_A01_t06: fail, OK

co19 issue #529, const instance creation with invalid type arguments

Language/12_Expressions/12_Instance_Creation_A01_t08: fail, OK

Marking this issue as resolved.


Added AssumedStale label.

@DartBot DartBot added Type-Defect area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. closed-obsolete Closed as the reported issue is no longer relevant labels Aug 21, 2013
@DartBot DartBot added this to the Later milestone Aug 21, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. closed-obsolete Closed as the reported issue is no longer relevant
Projects
None yet
Development

No branches or pull requests

4 participants