File tree 1 file changed +1
-3
lines changed
compiler/src/dotty/tools/dotc/core
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 {
491
491
/** Does this application expand to a match type? */
492
492
def isMatchAlias (using Context ): Boolean = underlyingNormalizable.isMatch
493
493
494
- def underlyingNormalizable (using Context ): Type = stripped match
494
+ def underlyingNormalizable (using Context ): Type = stripped.stripLazyRef match
495
495
case tp : MatchType => tp
496
496
case tp : AppliedType => tp.underlyingNormalizable
497
497
case _ => NoType
@@ -3257,8 +3257,6 @@ object Types extends TypeUtils {
3257
3257
private var myRef : Type | Null = null
3258
3258
private var computed = false
3259
3259
3260
- override def tryNormalize (using Context ): Type = ref.tryNormalize
3261
-
3262
3260
def ref (using Context ): Type =
3263
3261
if computed then
3264
3262
if myRef == null then
You can’t perform that action at this time.
0 commit comments