9ef5f6817 ^
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
class D[-A](x: A) { } object Test1 { println(new D[Int]{}) // crash } object Test2 { println(new D[Int]()) // no crash println(new D[Int]{}) // crash } object Test3 { new Tread("sth") { }.run() }