35d1160cd ^
1 2 3 4 5 6 7 8 9 10 11 12 13
// tests printing functionality class C[X](x: Int, val y: String) { } object test extends C[String](1, "") { new C[Int](1, "") {} def foo(x: C[Int]) = new C[String](1, "") {} }