Skip to content

Commit d5721f4

Browse files
committed
Avoid calling show in debug println, this could crash and mask the original failure
1 parent 2a32d6a commit d5721f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/Denotations.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ object Denotations {
585585
try info.signature
586586
catch { // !!! DEBUG
587587
case scala.util.control.NonFatal(ex) =>
588-
report.echo(s"cannot take signature of ${info.show}")
588+
report.echo(s"cannot take signature of $info")
589589
throw ex
590590
}
591591
case _ => Signature.NotAMethod

0 commit comments

Comments
 (0)