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
Comments
Set owner to collinsn@google.com. |
Removed this from the 1.6 milestone. |
Removed Oldschool-Milestone-1.6 label. |
This comment was originally written by collinsn@google.com My internship is ending today. Set owner to @bwilkerson. |
Set owner to @stereotype441. |
Fix sent out for review: https://codereview.chromium.org/680423003/ |
Fixed in revision 41477. Added Fixed label. |
Added this to the 1.8 milestone. |
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'.
The text was updated successfully, but these errors were encountered: