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 07b56cc commit cb736f0Copy full SHA for cb736f0
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -2603,7 +2603,7 @@ object Types extends TypeUtils {
2603
if reduced.exists then reduced
2604
else prefix.stripTypeVar match
2605
case pre: (AppliedType | TypeRef)
2606
- if prefix.typeSymbol.isClass && this.symbol.isAliasType => dealias
+ if prefix.dealias.typeSymbol.isClass && this.symbol.isAliasType => dealias
2607
case _ => this
2608
}
2609
else this
0 commit comments