Skip to content

Commit 8487143

Browse files
committed
Eliminate unused method from RefChecks.
1 parent 63c582b commit 8487143

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,6 @@ object RefChecks {
184184
emitOverrideError(overrideErrorMsg(msg))
185185
}
186186

187-
def overrideTypeError() = {
188-
if (noErrorType) {
189-
emitOverrideError(overrideErrorMsg("has incompatible type"))
190-
}
191-
}
192-
193187
def overrideAccessError() = {
194188
ctx.log(i"member: ${member.showLocated} ${member.flags}") // DEBUG
195189
ctx.log(i"other: ${other.showLocated} ${other.flags}") // DEBUG

0 commit comments

Comments
 (0)