summaryrefslogtreecommitdiff
path: root/test/files/run/t5655.check
blob: 43ebd50e7a1799f927ccbcb12fa0614cf8970bae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Type in expressions to have them evaluated.
Type :help for more information.

scala> 

scala> object x { def x={} }
defined module x

scala> import x._
import x._

scala> x
<console>:12: error: reference to x is ambiguous;
it is imported twice in the same scope by
import x._
and import x
              x
              ^

scala> x
<console>:12: error: reference to x is ambiguous;
it is imported twice in the same scope by
import x._
and import x
              x
              ^

scala> 

scala>