Skip to content

Commit 0655707

Browse files
committed
remove redundant pattern match for FlexibleType
1 parent bf8a800 commit 0655707

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
@@ -530,7 +530,6 @@ object TypeErasure {
530530
case tp: TypeProxy => hasStableErasure(tp.translucentSuperType)
531531
case tp: AndType => hasStableErasure(tp.tp1) && hasStableErasure(tp.tp2)
532532
case tp: OrType => hasStableErasure(tp.tp1) && hasStableErasure(tp.tp2)
533-
case _: FlexibleType => false
534533
case _ => false
535534
}
536535

0 commit comments

Comments
 (0)