9ef5f6817 ^
1 2 3 4 5 6 7 8
object Test { class A class B[X] type Alias[X <: A] = B[X] val foo: B[A] = new Alias[A] // check that type aliases can be instantiated }