aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/pos/t5390.scala
blob: d12bcf789b87ce08ecd9f0fe2af29a4ddc9cf61f (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: Unit = {
    val a = new A
    val b = new a.B[c.type]("") // not a forward reference
    val c = ""
  }
}