[SI-5760] Improve error message for package$Klass conflict with Klass Created: 04/May/12 Updated: 05/Jan/13 Resolved: 22/May/12
|Project:||Scala Programming Language|
|Affects Version/s:||Scala 2.10.0|
|Fix Version/s:||Scala 2.10.0-M3, Scala 2.10.0|
|Reporter:||A. P. Marki||Assignee:||A. P. Marki|
If I follow the warning recommendation and move a class out of a package object, then recompile without cleaning, I get a generic, tautological error message:
It would be nicer to specify: "...as class NoLongerImplementedError in package object pkgobjection."
The spec says I should never (for now) let this happen, and maybe it doesn't in a tooled environment.
|Comment by A. P. Marki [ 04/May/12 ]|
Coincidentally, if I had waited awhile and used a compiler with
|Comment by A. P. Marki [ 21/May/12 ]|
However, I was too late to push my hack to partest. Let that be a lesson to us all.
|Comment by A. P. Marki [ 22/May/12 ]|
adriaanm merged commit f406550