blob: 50dba71f677ff42c64bc43e0577259d9e91ac36f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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
}
}
|