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
Copy file name to clipboardExpand all lines: compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2103,7 +2103,7 @@ object messages {
2103
2103
case _ /* Signature.FullMatch */=>"\nThe definitions have matching type signatures after erasure."
2104
2104
}
2105
2105
} else""
2106
-
hl"${decl.showLocated} is already defined as ${previousDecl.showDcl} at line ${previousDecl.pos.line +1}."+ details
2106
+
hl"${decl.showLocated} is already defined as ${previousDecl.showDcl}${if (previousDecl.pos.exists) s"at line ${previousDecl.pos.line +1}"else""}."+ details
0 commit comments