summaryrefslogblamecommitdiff
path: root/test/files/neg/t3160ambiguous.check
blob: 73a0c6d5dbca7f72a9fc03209c21cdcee64434d3 (plain) (tree)
1
2
3
4
5
6
7
                                                              
                                         
                                   
                  
                                                                                   

               
t3160ambiguous.scala:8: error: reference to List is ambiguous;
it is imported twice in the same scope by
import scala.collection.immutable._
and import Bippy._
  def f(x: List[Any]): String = ???  // ambiguous, because Bippy.List is accessible
           ^
one error found