aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t8023.scala
blob: 66d478abd51eec3d1082712f85a5fad9e3d5eb2c (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                        
class C[K]
class D[K]

object Test3 {
  def foo = (null: Any) match {
    case a: C[k] => new C[k]() // this one worked before as the info of `A` was complete
    // ()
  }
}