summaryrefslogblamecommitdiff
path: root/test/files/pos/t5390.scala
blob: 36febb6a589c78837804d74335cf087e637bc767 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                          
class A {
  case class B[A](s: String)
}

object X {
  def foo {
    val a = new A
    val b = new a.B[c.type]("") // not a forward reference
    val c = ""
  }
}