Skip to content

Commit be977d9

Browse files
committed
Remove useless comment
1 parent 405d98f commit be977d9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,6 @@ class Typer extends Namer
12361236
if (rsym.info.isInstanceOf[PolyType] && rsym.allOverriddenSymbols.isEmpty)
12371237
ctx.error(PolymorphicMethodMissingTypeInParent(rsym, tpt1.symbol), refinement.pos)
12381238

1239-
// For some reason, `rsym.isOverloaded` always return false here.
12401239
val member = refineCls.info.member(rsym.name)
12411240
if (member.isOverloaded) {
12421241
ctx.error(OverloadInRefinement(rsym), refinement.pos)

0 commit comments

Comments
 (0)