Skip to content

Commit b2e3e0f

Browse files
committed
Remove redundant guard
1 parent 30ec21e commit b2e3e0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ trait Implicits { self: Typer =>
968968
if (!checkFormal(formal)) EmptyTree
969969
else
970970
formal.member(tpnme.MirroredType).info match {
971-
case TypeBounds(mirroredType, _) if checkFormal(formal) => mirrorFor(mirroredType)
971+
case TypeBounds(mirroredType, _) => mirrorFor(mirroredType)
972972
case other => EmptyTree
973973
}
974974
}

0 commit comments

Comments
 (0)