@@ -597,14 +597,14 @@ object Types {
597597 val jointInfo =
598598 if (rinfo.isAlias) rinfo
599599 else if (pdenot.info.isAlias) pdenot.info
600- else if (ctx.pendingMemberSearches.contains(name)) pdenot.info safe_& rinfo
600+ else if (ctx.base. pendingMemberSearches.contains(name)) pdenot.info safe_& rinfo
601601 else pdenot.info recoverable_& rinfo
602602 pdenot.asSingleDenotation.derivedSingleDenotation(pdenot.symbol, jointInfo)
603603 } else {
604604 pdenot & (
605605 new JointRefDenotation (NoSymbol , rinfo, Period .allInRun(ctx.runId)),
606606 pre,
607- safeIntersection = ctx.pendingMemberSearches.contains(name))
607+ safeIntersection = ctx.base. pendingMemberSearches.contains(name))
608608 }
609609 }
610610
@@ -646,17 +646,17 @@ object Types {
646646 }
647647
648648 def goAnd (l : Type , r : Type ) = {
649- go(l) & (go(r), pre, safeIntersection = ctx.pendingMemberSearches.contains(name))
649+ go(l) & (go(r), pre, safeIntersection = ctx.base. pendingMemberSearches.contains(name))
650650 }
651651
652- val recCount = ctx.findMemberCount
652+ val recCount = ctx.base. findMemberCount
653653 if (recCount >= Config .LogPendingFindMemberThreshold ) {
654654 if (ctx.property(TypeOps .findMemberLimit).isDefined &&
655- ctx.findMemberCount > Config .PendingFindMemberLimit )
655+ ctx.base. findMemberCount > Config .PendingFindMemberLimit )
656656 return NoDenotation
657- ctx.pendingMemberSearches = name :: ctx.pendingMemberSearches
657+ ctx.base. pendingMemberSearches = name :: ctx.base .pendingMemberSearches
658658 }
659- ctx.findMemberCount = recCount + 1
659+ ctx.base. findMemberCount = recCount + 1
660660 // assert(ctx.findMemberCount < 20)
661661 try go(this )
662662 catch {
@@ -666,8 +666,8 @@ object Types {
666666 }
667667 finally {
668668 if (recCount >= Config .LogPendingFindMemberThreshold )
669- ctx.pendingMemberSearches = ctx.pendingMemberSearches.tail
670- ctx.findMemberCount = recCount
669+ ctx.base. pendingMemberSearches = ctx.base .pendingMemberSearches.tail
670+ ctx.base. findMemberCount = recCount
671671 }
672672 }
673673
@@ -1907,8 +1907,8 @@ object Types {
19071907 * not loop before the error is detected.
19081908 */
19091909 final def controlled [T ](op : => T )(implicit ctx : Context ): T = try {
1910- ctx.underlyingRecursions += 1
1911- if (ctx.underlyingRecursions < Config .LogPendingUnderlyingThreshold )
1910+ ctx.base. underlyingRecursions += 1
1911+ if (ctx.base. underlyingRecursions < Config .LogPendingUnderlyingThreshold )
19121912 op
19131913 else if (ctx.pendingUnderlying contains this )
19141914 throw CyclicReference (symbol)
@@ -1920,7 +1920,7 @@ object Types {
19201920 ctx.pendingUnderlying -= this
19211921 }
19221922 } finally {
1923- ctx.underlyingRecursions -= 1
1923+ ctx.base. underlyingRecursions -= 1
19241924 }
19251925
19261926 /** The argument corresponding to class type parameter `tparam` as seen from
@@ -3734,7 +3734,7 @@ object Types {
37343734 def apply (msg : => Message )(implicit ctx : Context ): ErrorType = {
37353735 val et = new ErrorType {
37363736 def msg (implicit ctx : Context ): Message =
3737- ctx.errorTypeMsg.get(this ) match {
3737+ ctx.base. errorTypeMsg.get(this ) match {
37383738 case Some (msgFun) => msgFun()
37393739 case None => " error message from previous run no longer available"
37403740 }
0 commit comments