summaryrefslogblamecommitdiff
path: root/test/files/pos/t8403.scala
blob: eea60ed7ff07aff6ab1a11f355c885a638aeba79 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                       
trait Bug {
  val u: { type Amb } = ???
  import u._
 
  class Amb { def x = 0 }
  class C(x: Amb) { // after dbd8457e4, "reference to Amb is ambiguous"
    x.x
  }
}