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 @@ -461,7 +461,7 @@ object Types extends TypeUtils {
461
461
/** Does this application expand to a match type? */
462
462
def isMatchAlias (using Context ): Boolean = underlyingNormalizable.isMatch
463
463
464
- def underlyingNormalizable (using Context ): Type = stripped match
464
+ def underlyingNormalizable (using Context ): Type = stripped.stripLazyRef match
465
465
case tp : MatchType => tp
466
466
case tp : AppliedType => tp.underlyingNormalizable
467
467
case _ => NoType
@@ -3111,8 +3111,6 @@ object Types extends TypeUtils {
3111
3111
private var myRef : Type | Null = null
3112
3112
private var computed = false
3113
3113
3114
- override def tryNormalize (using Context ): Type = ref.tryNormalize
3115
-
3116
3114
def ref (using Context ): Type =
3117
3115
if computed then
3118
3116
if myRef == null then
You can’t perform that action at this time.
0 commit comments