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

dynamic should be treated like a type literal #18731

Closed
bwilkerson opened this issue May 8, 2014 · 9 comments
Closed

dynamic should be treated like a type literal #18731

bwilkerson opened this issue May 8, 2014 · 9 comments
Assignees
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
Milestone

Comments

@bwilkerson
Copy link
Member

According to the specification (15.6):

  The name dynamic denotes a Type object even though dynamic is not a class.

but analyzer does not appear to be treating it as such. See test/language/first_class_types_literals_test as an example. Analyzer correctly produces warnings for invalid uses of the name of the class C, but fails to do so for 'dynamic'.

@kasperl
Copy link

kasperl commented Jun 4, 2014

Removed this from the 1.5 milestone.
Added this to the 1.6 milestone.

@bwilkerson
Copy link
Member Author

Set owner to collinsn@google.com.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the 1.6 milestone.
Added Oldschool-Milestone-1.6 label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-1.6 label.

@DartBot
Copy link

DartBot commented Sep 26, 2014

This comment was originally written by collinsn@google.com


My internship is ending today.


Set owner to @bwilkerson.

@stereotype441
Copy link
Member

Set owner to @stereotype441.
Added Started label.

@stereotype441
Copy link
Member

Fix sent out for review: https://codereview.chromium.org/680423003/

@stereotype441
Copy link
Member

Fixed in revision 41477.


Added Fixed label.

@clayberg
Copy link

Added this to the 1.8 milestone.

@bwilkerson bwilkerson added Type-Defect area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. labels Nov 28, 2014
@bwilkerson bwilkerson added this to the 1.8 milestone Nov 28, 2014
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.
Projects
None yet
Development

No branches or pull requests

5 participants