summaryrefslogblamecommitdiff
path: root/test/files/neg/t4842b.check
blob: c7ccd5e059a68e62de82dae43cc743f4b60e0bd6 (plain) (tree)
1
2
3
4



                                                                                        
t4842b.scala:2: error: self constructor arguments cannot reference unconstructed `this`
  def this() = { this(???)(new { println(TypeArg.this.x) } ); println("next") } // error
                                         ^
one error found