Please sign in to comment.
A band-aid solution for SI-5803.
Since ae5ff66, resetAttrs duplicates trees, which doesn't preserve ApplyConstructor. My attempt to modify TreeCopier to do so proved trickier than expected. In any case, ApplyConstructor is not long for this world, and is only used in tree printing to distinguish `new X` from regular Apply trees, so this should suffice pending full surgery.
- Loading branch information...
Showing with 10 additions and 1 deletion.
|@@ -0,0 +1,4 @@|
|+t5803.scala:3: error: could not find implicit value for parameter ev: Nothing|
|+ new Foo(): String|
|+one error found|