-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Unadorned path should resolve same as relative path written w.r.t. self/super #6291
Comments
Nominating for milestone, "Well defined". (In particular, I cannot tell if this is a true bug or some sort of weird expected behavior without a more explicit definition of the semantics of path resolution.) |
See also #7551 (which I just filed and arguably may be more appropriate for milestone 1 than this bug actually is). |
Visiting for triage, email 2013-08-12. nothing more to add. |
Note also #4293 |
Metabug for resolve surprises: #6143 |
This is not the expected behavior afaik |
De-milestoning this since metabug is on maturity 1 |
Closing as a dupe of #8215, I'm not entirely sure that all imports should be valid in that program, I will re-post with an updated version in 8215 |
The following test should have all imports as valid:
Apparently resolve isn't realizing that
use a
is equivalent touse super::a
. A little more discussion can be found in #6226The text was updated successfully, but these errors were encountered: