Skip to content

Commit dcc3c17

Browse files
committed
remove redundant pattern match for FlexibleType
1 parent 338b5d5 commit dcc3c17

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/src/dotty/tools/dotc/core/TypeErasure.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,6 @@ object TypeErasure {
561561
case tp: TypeProxy => hasStableErasure(tp.translucentSuperType)
562562
case tp: AndType => hasStableErasure(tp.tp1) && hasStableErasure(tp.tp2)
563563
case tp: OrType => hasStableErasure(tp.tp1) && hasStableErasure(tp.tp2)
564-
case _: FlexibleType => false
565564
case _ => false
566565
}
567566

0 commit comments

Comments
 (0)