File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -3208,6 +3208,8 @@ BEGIN_CAN_TYPE_WRAPPER(GenericFunctionType, AnyFunctionType)
3208
3208
return cast<GenericFunctionType>(fnType->getCanonicalType ());
3209
3209
}
3210
3210
3211
+ CanFunctionType substGenericArgs (SubstitutionMap subs) const ;
3212
+
3211
3213
CanGenericSignature getGenericSignature () const {
3212
3214
return CanGenericSignature (getPointer ()->getGenericSignature ());
3213
3215
}
Original file line number Diff line number Diff line change @@ -2683,6 +2683,12 @@ GenericFunctionType::substGenericArgs(SubstitutionMap subs) {
2683
2683
substFn->getResult (), getExtInfo ());
2684
2684
}
2685
2685
2686
+ CanFunctionType
2687
+ CanGenericFunctionType::substGenericArgs (SubstitutionMap subs) const {
2688
+ return cast<FunctionType>(
2689
+ getPointer ()->substGenericArgs (subs)->getCanonicalType ());
2690
+ }
2691
+
2686
2692
static Type getMemberForBaseType (LookupConformanceFn lookupConformances,
2687
2693
Type origBase,
2688
2694
Type substBase,
You can’t perform that action at this time.
0 commit comments