You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are compile call paths relying on
meaningful toString impl. for error/warning
log messages. Therefor lets add toString, which is:
"concise but informative representation that is easy for a person to read."
Without this, e.g. users of https://github.com/davidB/scala-maven-plugin
get unsuitable compile problems like:
[Warn] dotty.tools.xsbt.PositionBridge@4fbdc20: match may not be exhaustive....
Example call path:
log:45, SbtLogger (sbt_inc)
log:47, Logger (sbt.util)
warn:43, Logger (sbt.util)
logWarning:159, LoggedReporter (sbt.internal.inc)
display:168, LoggedReporter (sbt.internal.inc)
log:142, LoggedReporter (sbt.internal.inc)
doReport:43, DelegatingReporter (dotty.tools.xsbt)
report:150, Reporter (dotty.tools.dotc.reporting)
issueWarning:32, report$ (dotty.tools.dotc)
warning:67, report$ (dotty.tools.dotc)
checkExhaustivity:847, SpaceEngine (dotty.tools.dotc.transform.patmat)
....
0 commit comments