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 291e84f commit 401f126Copy full SHA for 401f126
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -2721,7 +2721,7 @@ object Types extends TypeUtils {
2721
if reduced.exists then reduced
2722
else prefix.stripTypeVar match
2723
case pre: (AppliedType | TypeRef)
2724
- if prefix.typeSymbol.isClass && this.symbol.isAliasType => dealias
+ if prefix.dealias.typeSymbol.isClass && this.symbol.isAliasType => dealias
2725
case _ => this
2726
2727
/** Guard against cycles that can arise if given `op`
0 commit comments