File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -4641,10 +4641,6 @@ object Types extends TypeUtils {
46414641 case nil => x
46424642 foldArgs(op(x, tycon), args)
46434643
4644- /** Exists if the tycon is a TypeRef of an alias with an underlying match type.
4645- * Anything else should have already been reduced in `appliedTo` by the TypeAssigner.
4646- * May reduce several HKTypeLambda applications before the underlying MatchType is reached.
4647- */
46484644 override def underlyingNormalizable (using Context ): Type =
46494645 if ctx.period != validUnderlyingNormalizable then
46504646 validUnderlyingNormalizable = if tycon.isProvisional then Nowhere else ctx.period
@@ -4654,7 +4650,7 @@ object Types extends TypeUtils {
46544650 cachedUnderlyingNormalizable
46554651
46564652 override def tryNormalize (using Context ): Type =
4657- if MatchTypeTrace .isRecording && isMatchAlias then
4653+ if isMatchAlias && MatchTypeTrace .isRecording then
46584654 MatchTypeTrace .recurseWith(this )(superType.tryNormalize)
46594655 else super .tryNormalize
46604656
You can’t perform that action at this time.
0 commit comments