@@ -4811,7 +4811,7 @@ object Types {
48114811 }
48124812 }
48134813
4814- abstract class TypeMap (implicit protected val ctx : Context )
4814+ abstract class TypeMap (implicit protected val mapCtx : Context )
48154815 extends VariantTraversal with (Type => Type ) { thisMap =>
48164816
48174817 protected def stopAtStatic : Boolean = true
@@ -4858,7 +4858,7 @@ object Types {
48584858 def mapOver (tp : Type ): Type = {
48594859 record(s " mapOver ${getClass}" )
48604860 record(" mapOver total" )
4861- implicit val ctx = this .ctx
4861+ implicit val ctx = this .mapCtx
48624862 tp match {
48634863 case tp : NamedType =>
48644864 if (stopAtStatic && tp.symbol.isStatic || (tp.prefix `eq` NoPrefix )) tp
@@ -4968,7 +4968,7 @@ object Types {
49684968
49694969 private def treeTypeMap = new TreeTypeMap (typeMap = this )
49704970
4971- def mapOver (syms : List [Symbol ]): List [Symbol ] = ctx .mapSymbols(syms, treeTypeMap)
4971+ def mapOver (syms : List [Symbol ]): List [Symbol ] = mapCtx .mapSymbols(syms, treeTypeMap)
49724972
49734973 def mapOver (scope : Scope ): Scope = {
49744974 val elems = scope.toList
@@ -5271,7 +5271,7 @@ object Types {
52715271
52725272 // ----- TypeAccumulators ----------------------------------------------------
52735273
5274- abstract class TypeAccumulator [T ](implicit protected val ctx : Context )
5274+ abstract class TypeAccumulator [T ](implicit protected val accCtx : Context )
52755275 extends VariantTraversal with ((T , Type ) => T ) {
52765276
52775277 protected def stopAtStatic : Boolean = true
0 commit comments