@@ -228,7 +228,7 @@ object ProtoTypes {
228228
229229 trait ApplyingProto extends ProtoType // common trait of ViewProto and FunProto
230230 trait FunOrPolyProto extends ProtoType { // common trait of PolyProto and FunProto
231- def isGivenApply : Boolean = false
231+ def isUsingApply : Boolean = false
232232 }
233233
234234 class FunProtoState {
@@ -251,7 +251,7 @@ object ProtoTypes {
251251 * [](args): resultType
252252 */
253253 case class FunProto (args : List [untpd.Tree ], resType : Type )(typer : Typer ,
254- override val isGivenApply : Boolean , state : FunProtoState = new FunProtoState )(implicit val ctx : Context )
254+ override val isUsingApply : Boolean , state : FunProtoState = new FunProtoState )(implicit val ctx : Context )
255255 extends UncachedGroundType with ApplyingProto with FunOrPolyProto {
256256 override def resultType (implicit ctx : Context ): Type = resType
257257
@@ -265,7 +265,7 @@ object ProtoTypes {
265265
266266 def derivedFunProto (args : List [untpd.Tree ] = this .args, resultType : Type , typer : Typer = this .typer): FunProto =
267267 if ((args eq this .args) && (resultType eq this .resultType) && (typer eq this .typer)) this
268- else new FunProto (args, resultType)(typer, isGivenApply )
268+ else new FunProto (args, resultType)(typer, isUsingApply )
269269
270270 /** @return True if all arguments have types.
271271 */
@@ -355,7 +355,7 @@ object ProtoTypes {
355355 case pt : FunProto =>
356356 pt
357357 case _ =>
358- state.tupled = new FunProto (untpd.Tuple (args) :: Nil , resultType)(typer, isGivenApply )
358+ state.tupled = new FunProto (untpd.Tuple (args) :: Nil , resultType)(typer, isUsingApply )
359359 tupled
360360 }
361361
@@ -390,14 +390,14 @@ object ProtoTypes {
390390
391391 override def withContext (newCtx : Context ): ProtoType =
392392 if (newCtx `eq` ctx) this
393- else new FunProto (args, resType)(typer, isGivenApply , state)(newCtx)
393+ else new FunProto (args, resType)(typer, isUsingApply , state)(newCtx)
394394 }
395395
396396 /** A prototype for expressions that appear in function position
397397 *
398398 * [](args): resultType, where args are known to be typed
399399 */
400- class FunProtoTyped (args : List [tpd.Tree ], resultType : Type )(typer : Typer , isGivenApply : Boolean )(implicit ctx : Context ) extends FunProto (args, resultType)(typer, isGivenApply )(ctx) {
400+ class FunProtoTyped (args : List [tpd.Tree ], resultType : Type )(typer : Typer , isUsingApply : Boolean )(implicit ctx : Context ) extends FunProto (args, resultType)(typer, isUsingApply )(ctx) {
401401 override def typedArgs (norm : (untpd.Tree , Int ) => untpd.Tree )(implicit ctx : Context ): List [tpd.Tree ] = args
402402 override def withContext (ctx : Context ): FunProtoTyped = this
403403 }
@@ -444,7 +444,7 @@ object ProtoTypes {
444444 }
445445
446446 class UnapplyFunProto (argType : Type , typer : Typer )(implicit ctx : Context ) extends FunProto (
447- untpd.TypedSplice (dummyTreeOfType(argType)(ctx.source))(ctx) :: Nil , WildcardType )(typer, isGivenApply = false )
447+ untpd.TypedSplice (dummyTreeOfType(argType)(ctx.source))(ctx) :: Nil , WildcardType )(typer, isUsingApply = false )
448448
449449 /** A prototype for expressions [] that are type-parameterized:
450450 *
0 commit comments