blob: b53bbdbd15d0005b960d428088d66e0a91594cc1 (
plain) (
tree)
|
|
t4842.scala:2: error: self constructor arguments cannot reference unconstructed `this`
def this(x: Int) = this(new { println(Foo.this)}) // error
^
t4842.scala:6: error: self constructor arguments cannot reference unconstructed `this`
def this() = { this(???)(new { println(TypeArg.this.x) } ); println("next") } // error
^
two errors found
|