File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -461,7 +461,7 @@ object Types extends TypeUtils {
461461 /** Does this application expand to a match type? */
462462 def isMatchAlias (using Context ): Boolean = underlyingNormalizable.isMatch
463463
464- def underlyingNormalizable (using Context ): Type = stripped match
464+ def underlyingNormalizable (using Context ): Type = stripped.stripLazyRef match
465465 case tp : MatchType => tp
466466 case tp : AppliedType => tp.underlyingNormalizable
467467 case _ => NoType
@@ -3111,8 +3111,6 @@ object Types extends TypeUtils {
31113111 private var myRef : Type | Null = null
31123112 private var computed = false
31133113
3114- override def tryNormalize (using Context ): Type = ref.tryNormalize
3115-
31163114 def ref (using Context ): Type =
31173115 if computed then
31183116 if myRef == null then
You can’t perform that action at this time.
0 commit comments