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
Incorrect ambiguous import error (probably a regression since M4) #6117
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6117?orig=1 |
@xeno-by said: |
@paulp said: |
@VladUreche said: |
@paulp said: Please be extremely careful with claims like this; when you are wrong, it is very misleading about where the problem was introduced. % m4scalac /scala/trunk/test/files/pos/t6117.scala
/scala/trunk/test/files/pos/t6117.scala:18: error: reference to foo is ambiguous;
it is imported twice in the same scope by
import importMe._
and import importMe._
println(foo(1))
^
one error found
% m3scalac /scala/trunk/test/files/pos/t6117.scala
% |
@xeno-by said: |
@paulp said: |
@adriaanm said: |
Note: if there's only one def foo in ImportMe, there's no problem.
The text was updated successfully, but these errors were encountered: