We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 338b5d5 commit dcc3c17Copy full SHA for dcc3c17
compiler/src/dotty/tools/dotc/core/TypeErasure.scala
@@ -561,7 +561,6 @@ object TypeErasure {
561
case tp: TypeProxy => hasStableErasure(tp.translucentSuperType)
562
case tp: AndType => hasStableErasure(tp.tp1) && hasStableErasure(tp.tp2)
563
case tp: OrType => hasStableErasure(tp.tp1) && hasStableErasure(tp.tp2)
564
- case _: FlexibleType => false
565
case _ => false
566
}
567
0 commit comments