-
Notifications
You must be signed in to change notification settings - Fork 21
ambiguous references which aren't #3836
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
Comments
Imported From: https://issues.scala-lang.org/browse/SI-3836?orig=1 |
@paulp said:
Don't jinx me bub. I see the similarity, but #2551 is far more ambitious: I'm not looking to overload anything or have the compiler do anything clever, just to chill out about stomping the entire build. I'd be happy with any number of tiny changes, I'd take a compiler option, hidden secret password and handshake, anything which uncripples the described use case. Plus I'll gladly implement it myself. I am not #2551! (You are #6.) |
@harrah said: |
@odersky said: |
@adriaanm said: |
@paulp said: |
@adriaanm said: |
@paulp said (edited on Jul 6, 2012 4:48:39 AM UTC): |
@paulp said: |
I have pervasively utilized the import noise reduction available when one defines type aliases in a package object:
Unfortunately this interacts needlessly poorly with the rest of the world. One adds a seemingly compilable file from elsewhere to find:
scalac is perfectly well aware that these normalize to the same type. I have no problem with this being an error if they are not the same type, but this one is purely spurious, and it really hamstrings the otherwise boundless joy of aliasing commonly used types into one's package.
Addendum: it is particularly intrusive because even wildcard imports incur an ambiguity error, so for instance:
The text was updated successfully, but these errors were encountered: