@@ -340,7 +340,7 @@ object Types {
340340 def isImplicitMethod : Boolean = false
341341
342342 /** Is this a Method or PolyType which has contextual parameters as first value parameter list? */
343- def isContextual : Boolean = false
343+ def isContextualMethod : Boolean = false
344344
345345 /** Is this a MethodType for which the parameters will not be used? */
346346 def isErasedMethod : Boolean = false
@@ -1504,7 +1504,7 @@ object Types {
15041504 def toFunctionType (dropLast : Int = 0 )(implicit ctx : Context ): Type = this match {
15051505 case mt : MethodType if ! mt.isParamDependent =>
15061506 val formals1 = if (dropLast == 0 ) mt.paramInfos else mt.paramInfos dropRight dropLast
1507- val isContextual = mt.isContextual && ! ctx.erasedTypes
1507+ val isContextual = mt.isContextualMethod && ! ctx.erasedTypes
15081508 val isErased = mt.isErasedMethod && ! ctx.erasedTypes
15091509 val result1 = mt.nonDependentResultApprox match {
15101510 case res : MethodType => res.toFunctionType()
@@ -3185,12 +3185,12 @@ object Types {
31853185 final override def isImplicitMethod : Boolean =
31863186 companion.eq(ImplicitMethodType ) ||
31873187 companion.eq(ErasedImplicitMethodType ) ||
3188- isContextual
3188+ isContextualMethod
31893189 final override def isErasedMethod : Boolean =
31903190 companion.eq(ErasedMethodType ) ||
31913191 companion.eq(ErasedImplicitMethodType ) ||
31923192 companion.eq(ErasedContextualMethodType )
3193- final override def isContextual : Boolean =
3193+ final override def isContextualMethod : Boolean =
31943194 companion.eq(ContextualMethodType ) ||
31953195 companion.eq(ErasedContextualMethodType )
31963196
@@ -3384,7 +3384,7 @@ object Types {
33843384
33853385 def computeSignature (implicit ctx : Context ): Signature = resultSignature
33863386
3387- override def isContextual = resType.isContextual
3387+ override def isContextualMethod = resType.isContextualMethod
33883388 override def isImplicitMethod = resType.isImplicitMethod
33893389
33903390 /** Merge nested polytypes into one polytype. nested polytypes are normally not supported
0 commit comments