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

[Language] Import prefix and local declarations in the importing library #3481

Closed
DartBot opened this issue Jun 9, 2012 · 4 comments
Closed
Assignees
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language).

Comments

@DartBot
Copy link

DartBot commented Jun 9, 2012

This issue was originally filed by rodion...@unipro.ru


12.2 says:
It is compile time error if an actual argument to the prefi x combinator denotes a name that is declared by the importing library.

Please clarify whether this extends to all names, including non-top-level declarations, type variable names, etc.

Related: issue #3340

@dgrove
Copy link
Contributor

dgrove commented Jun 11, 2012

Set owner to @gbracha.
Added Area-Language, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Sep 4, 2012

This comment was originally written by rodion...@unipro.ru


The new spec (0.11d) doesn't say this anymore.
Please let us know if it will in the future or this error is gone entirely.

@gbracha
Copy link
Contributor

gbracha commented Sep 5, 2012

See new spec. The rule is back: no conflict between prefix names and top level declarations in the library is allowed, nor may prefixes conflict with each other.

@gbracha
Copy link
Contributor

gbracha commented Sep 5, 2012

Added Done label.

@DartBot DartBot added Type-Defect area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). labels Sep 5, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language).
Projects
None yet
Development

No branches or pull requests

4 participants