@@ -3745,7 +3745,7 @@ object Types {
3745
3745
NoType
3746
3746
}
3747
3747
3748
- def typeParams (implicit ctx : Context ): List [ParamInfo ] = {
3748
+ def tyconTypeParams (implicit ctx : Context ): List [ParamInfo ] = {
3749
3749
val tparams = tycon.typeParams
3750
3750
if (tparams.isEmpty) HKTypeLambda .any(args.length).typeParams else tparams
3751
3751
}
@@ -4693,7 +4693,7 @@ object Types {
4693
4693
case nil =>
4694
4694
nil
4695
4695
}
4696
- derivedAppliedType(tp, this (tp.tycon), mapArgs(tp.args, tp.typeParams ))
4696
+ derivedAppliedType(tp, this (tp.tycon), mapArgs(tp.args, tp.tyconTypeParams ))
4697
4697
4698
4698
case tp : RefinedType =>
4699
4699
derivedRefinedType(tp, this (tp.parent), this (tp.refinedInfo))
@@ -5000,7 +5000,7 @@ object Types {
5000
5000
case nil =>
5001
5001
true
5002
5002
}
5003
- if (distributeArgs(args, tp.typeParams ))
5003
+ if (distributeArgs(args, tp.tyconTypeParams ))
5004
5004
range(tp.derivedAppliedType(tycon, loBuf.toList),
5005
5005
tp.derivedAppliedType(tycon, hiBuf.toList))
5006
5006
else range(defn.NothingType , defn.AnyType )
@@ -5109,7 +5109,7 @@ object Types {
5109
5109
}
5110
5110
foldArgs(acc, tparams.tail, args.tail)
5111
5111
}
5112
- foldArgs(this (x, tycon), tp.typeParams , args)
5112
+ foldArgs(this (x, tycon), tp.tyconTypeParams , args)
5113
5113
5114
5114
case _ : BoundType | _ : ThisType => x
5115
5115
0 commit comments