aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t1053.scala
blob: 2c5dc1d5a9d8ca45d0556f8e741fda81f71ad649 (plain) (tree)
1
2
3
4
5
6
7
                                                
                     

             
                                                   

                     
trait T[A] { trait U { type W = A; val x = 3 } }
trait Base { type V }

object Test {
  val x : (Base { type V = T[this.type] })#V = null
  val y = new x.U { }
}