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






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