@@ -621,14 +621,14 @@ object Types {
621621 val jointInfo =
622622 if (rinfo.isAlias) rinfo
623623 else if (pinfo.isAlias) pinfo
624- else if (ctx.pendingMemberSearches.contains(name)) pinfo safe_& rinfo
624+ else if (ctx.base. pendingMemberSearches.contains(name)) pinfo safe_& rinfo
625625 else pinfo recoverable_& rinfo
626626 pdenot.asSingleDenotation.derivedSingleDenotation(pdenot.symbol, jointInfo)
627627 } else {
628628 pdenot & (
629629 new JointRefDenotation (NoSymbol , rinfo, Period .allInRun(ctx.runId)),
630630 pre,
631- safeIntersection = ctx.pendingMemberSearches.contains(name))
631+ safeIntersection = ctx.base. pendingMemberSearches.contains(name))
632632 }
633633 }
634634
@@ -670,13 +670,13 @@ object Types {
670670 }
671671
672672 def goAnd (l : Type , r : Type ) = {
673- go(l) & (go(r), pre, safeIntersection = ctx.pendingMemberSearches.contains(name))
673+ go(l) & (go(r), pre, safeIntersection = ctx.base. pendingMemberSearches.contains(name))
674674 }
675675
676- val recCount = ctx.findMemberCount
676+ val recCount = ctx.base. findMemberCount
677677 if (recCount >= Config .LogPendingFindMemberThreshold )
678- ctx.pendingMemberSearches = name :: ctx.pendingMemberSearches
679- ctx.findMemberCount = recCount + 1
678+ ctx.base. pendingMemberSearches = name :: ctx.base .pendingMemberSearches
679+ ctx.base. findMemberCount = recCount + 1
680680 try go(this )
681681 catch {
682682 case ex : Throwable =>
@@ -693,8 +693,8 @@ object Types {
693693 }
694694 finally {
695695 if (recCount >= Config .LogPendingFindMemberThreshold )
696- ctx.pendingMemberSearches = ctx.pendingMemberSearches.tail
697- ctx.findMemberCount = recCount
696+ ctx.base. pendingMemberSearches = ctx.base .pendingMemberSearches.tail
697+ ctx.base. findMemberCount = recCount
698698 }
699699 }
700700
@@ -1930,8 +1930,8 @@ object Types {
19301930 * not loop before the error is detected.
19311931 */
19321932 final def controlled [T ](op : => T )(implicit ctx : Context ): T = try {
1933- ctx.underlyingRecursions += 1
1934- if (ctx.underlyingRecursions < Config .LogPendingUnderlyingThreshold )
1933+ ctx.base. underlyingRecursions += 1
1934+ if (ctx.base. underlyingRecursions < Config .LogPendingUnderlyingThreshold )
19351935 op
19361936 else if (ctx.pendingUnderlying contains this )
19371937 throw CyclicReference (symbol)
@@ -1943,7 +1943,7 @@ object Types {
19431943 ctx.pendingUnderlying -= this
19441944 }
19451945 } finally {
1946- ctx.underlyingRecursions -= 1
1946+ ctx.base. underlyingRecursions -= 1
19471947 }
19481948
19491949 /** The argument corresponding to class type parameter `tparam` as seen from
@@ -3788,7 +3788,7 @@ object Types {
37883788 def apply (msg : => Message )(implicit ctx : Context ): ErrorType = {
37893789 val et = new ErrorType {
37903790 def msg (implicit ctx : Context ): Message =
3791- ctx.errorTypeMsg.get(this ) match {
3791+ ctx.base. errorTypeMsg.get(this ) match {
37923792 case Some (msgFun) => msgFun()
37933793 case None => " error message from previous run no longer available"
37943794 }
0 commit comments