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