-
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
dart2js fails language/call_constructor_on_unresolvable_class_test/{03,06} #5825
Comments
Actually, this is not a type annotation, and specification does not prohibit the use of built-in identifiers as library prefixes. Set owner to @peter-ahe-google. |
Changed the title to: "dart2js fails language/call_constructor_on_unresolvable_class_test/{03,06}". |
Added this to the M2 milestone. |
Removed this from the M2 milestone. |
Added this to the M2 milestone. |
Added TriageForM5 label. |
Removed TriageForM5 label. |
Marked this as blocking #5519. |
Dart2js allows using "library" as a prefix but fails tests/language/built_in_identifier_prefix_test.dart which is tracked by issue #6972. Added AssumedStale label. |
The specification says:
"It is a compile-time error to use a built-in identifier other than dynamic as a type annotation."
"library" is a built-in identifier, but it contains these two subtests:
new library.A(); /// 03: static type warning
new library.A(); /// 06: runtime error
The text was updated successfully, but these errors were encountered: