Analyzer: Built-in identifier as prefix is not detected as a compile-time error. #28813

Open
eernstg opened this Issue Feb 17, 2017 · 0 comments

Projects

None yet

1 participant

@eernstg
Member
eernstg commented Feb 17, 2017 edited

This is the analyzer specific sub-issue for #28811, which has the details.

The test built_in_identifier_prefix_test.dart implies that built-in identifiers should be accepted as the declared names of library prefixes, which is not the case.

The test should be adjusted accordingly, and the analyzer should detect and flag such prefix names as compile-time errors.

Pending agreement on #28817, usages as in #28811 should also be flagged as compile-time errors (it is not just a malformed type).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment