Skip to content

Commit fc605da

Browse files
committed
Fix #1510: Fix error message when abstract member not implemented.
1 parent 3f3df3d commit fc605da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/typer/RefChecks.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ object RefChecks {
525525
subclassMsg(concreteSym, abstractSym)
526526
else ""
527527

528-
undefined(s"\n(Note that $pa does not match $pc$addendum)")
528+
undefined(s"\n(Note that ${pa.show} does not match ${pc.show}$addendum)")
529529
case xs =>
530530
undefined(s"\n(The class implements a member with a different type: ${concrete.showDcl})")
531531
}

0 commit comments

Comments
 (0)