Skip to content

Commit 06c7a51

Browse files
author
Jendrik Wenke
committed
remove unused methods
1 parent 03e4ab3 commit 06c7a51

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compiler/src/dotty/tools/dotc/typer/Checking.scala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -623,10 +623,6 @@ trait Checking {
623623
typr.println(i"conflict? $decl $other")
624624
if (decl.matches(other)) {
625625
def doubleDefError(decl: Symbol, other: Symbol): Unit = {
626-
def ofType = if (decl.isType) "" else em": ${other.info}"
627-
def explanation =
628-
if (!decl.isRealMethod) ""
629-
else "\n(the definitions have matching type signatures)"
630626
ctx.error(DoubleDeclaration(decl, other), decl.pos)
631627
}
632628
if (decl is Synthetic) doubleDefError(other, decl)

0 commit comments

Comments
 (0)