@@ -587,14 +587,14 @@ object Types {
587587 val jointInfo =
588588 if (rinfo.isAlias) rinfo
589589 else if (pdenot.info.isAlias) pdenot.info
590- else if (ctx.pendingMemberSearches.contains(name)) pdenot.info safe_& rinfo
590+ else if (ctx.base. pendingMemberSearches.contains(name)) pdenot.info safe_& rinfo
591591 else pdenot.info recoverable_& rinfo
592592 pdenot.asSingleDenotation.derivedSingleDenotation(pdenot.symbol, jointInfo)
593593 } else {
594594 pdenot & (
595595 new JointRefDenotation (NoSymbol , rinfo, Period .allInRun(ctx.runId)),
596596 pre,
597- safeIntersection = ctx.pendingMemberSearches.contains(name))
597+ safeIntersection = ctx.base. pendingMemberSearches.contains(name))
598598 }
599599 }
600600
@@ -639,17 +639,17 @@ object Types {
639639 case d => d
640640 }
641641 def goAnd (l : Type , r : Type ) = {
642- go(l) & (go(r), pre, safeIntersection = ctx.pendingMemberSearches.contains(name))
642+ go(l) & (go(r), pre, safeIntersection = ctx.base. pendingMemberSearches.contains(name))
643643 }
644644
645- val recCount = ctx.findMemberCount
645+ val recCount = ctx.base. findMemberCount
646646 if (recCount >= Config .LogPendingFindMemberThreshold ) {
647647 if (ctx.property(TypeOps .findMemberLimit).isDefined &&
648- ctx.findMemberCount > Config .PendingFindMemberLimit )
648+ ctx.base. findMemberCount > Config .PendingFindMemberLimit )
649649 return NoDenotation
650- ctx.pendingMemberSearches = name :: ctx.pendingMemberSearches
650+ ctx.base. pendingMemberSearches = name :: ctx.base .pendingMemberSearches
651651 }
652- ctx.findMemberCount = recCount + 1
652+ ctx.base. findMemberCount = recCount + 1
653653 // assert(ctx.findMemberCount < 20)
654654 try go(this )
655655 catch {
@@ -659,8 +659,8 @@ object Types {
659659 }
660660 finally {
661661 if (recCount >= Config .LogPendingFindMemberThreshold )
662- ctx.pendingMemberSearches = ctx.pendingMemberSearches.tail
663- ctx.findMemberCount = recCount
662+ ctx.base. pendingMemberSearches = ctx.base .pendingMemberSearches.tail
663+ ctx.base. findMemberCount = recCount
664664 }
665665 }
666666
@@ -1904,8 +1904,8 @@ object Types {
19041904 * not loop before the error is detected.
19051905 */
19061906 final def controlled [T ](op : => T )(implicit ctx : Context ): T = try {
1907- ctx.underlyingRecursions += 1
1908- if (ctx.underlyingRecursions < Config .LogPendingUnderlyingThreshold )
1907+ ctx.base. underlyingRecursions += 1
1908+ if (ctx.base. underlyingRecursions < Config .LogPendingUnderlyingThreshold )
19091909 op
19101910 else if (ctx.pendingUnderlying contains this )
19111911 throw CyclicReference (symbol)
@@ -1917,7 +1917,7 @@ object Types {
19171917 ctx.pendingUnderlying -= this
19181918 }
19191919 } finally {
1920- ctx.underlyingRecursions -= 1
1920+ ctx.base. underlyingRecursions -= 1
19211921 }
19221922
19231923 /** The argument corresponding to class type parameter `tparam` as seen from
@@ -3732,7 +3732,7 @@ object Types {
37323732 def apply (msg : => Message )(implicit ctx : Context ): ErrorType = {
37333733 val et = new ErrorType {
37343734 def msg (implicit ctx : Context ): Message =
3735- ctx.errorTypeMsg.get(this ) match {
3735+ ctx.base. errorTypeMsg.get(this ) match {
37363736 case Some (msgFun) => msgFun()
37373737 case None => " error message from previous run no longer available"
37383738 }
0 commit comments