blob: 50dba71f677ff42c64bc43e0577259d9e91ac36f (
plain) (
tree)
|
|
// When faced with ambiguities between imports,
// an attempt is made to see if the imports intend
// identical types.
//
// Here, no attempt is made to notice that x
// names the same thing.
//
object X {
val x = 42
def f = {
import X.x
x
}
}
|