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 fce8111 commit 237ebd2Copy full SHA for 237ebd2
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -277,6 +277,8 @@ object Types {
277
tp.bound.derivesFrom(cls) || tp.reduced.derivesFrom(cls)
278
case tp: TypeProxy =>
279
loop(tp.underlying)
280
+ case tp: FlexibleType =>
281
+ loop(tp.underlying)
282
case tp: AndType =>
283
loop(tp.tp1) || loop(tp.tp2)
284
case tp: OrType =>
0 commit comments