Skip to content

Commit f091c4e

Browse files
author
EnzeXing
committed
fix error messages
1 parent 16ecedd commit f091c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/init/Objects.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ object Objects:
859859
report.warning("[Internal error] unexpected tree in assignment, fun = " + fun.code.show + Trace.show, Trace.position)
860860

861861
case arr: OfArray =>
862-
report.warning("[Internal error] unexpected tree in assignment, array = " + arr.show + s", owner = ${field.owner}\n" + Trace.show, Trace.position)
862+
report.warning("[Internal error] unexpected tree in assignment, array = " + arr.show + Trace.show, Trace.position)
863863

864864
case Cold =>
865865
report.warning("Assigning to cold aliases is forbidden. " + Trace.show, Trace.position)

0 commit comments

Comments
 (0)