1 2 3 4 5 6 7 8 9
package i1202a class Test[T] { def testMethod: Unit = new Foo(this) } class Foo[T]() { def this(ct: Test[T]) = this() }