1 2 3 4 5 6 7 8 9 10
object Test { class C[A] { def this(y: A) = { this(); foo(y) } def foo(x: A): Unit = () } }