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 @@ -491,7 +491,7 @@ object Types extends TypeUtils {
491491 /** Does this application expand to a match type? */
492492 def isMatchAlias (using Context ): Boolean = underlyingNormalizable.isMatch
493493
494- def underlyingNormalizable (using Context ): Type = stripped match
494+ def underlyingNormalizable (using Context ): Type = stripped.stripLazyRef match
495495 case tp : MatchType => tp
496496 case tp : AppliedType => tp.underlyingNormalizable
497497 case _ => NoType
@@ -3257,8 +3257,6 @@ object Types extends TypeUtils {
32573257 private var myRef : Type | Null = null
32583258 private var computed = false
32593259
3260- override def tryNormalize (using Context ): Type = ref.tryNormalize
3261-
32623260 def ref (using Context ): Type =
32633261 if computed then
32643262 if myRef == null then
You can’t perform that action at this time.
0 commit comments