summaryrefslogblamecommitdiff
path: root/test/files/run/t5655.check
blob: 857a5ab556e9cf34a169167f4cf15f50f914df85 (plain) (tree)
1
2
3
4
5
6
7
8
9
 
                            
                




                 
                                                 


                                         

        

        
                                                 


                                         

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

scala> import x._
import x._

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

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

scala> :quit