File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ class TypeSubstituter : public TypeTransform<TypeSubstituter> {
358
358
std::optional<Type> transformLocalArchetypeType (LocalArchetypeType *local,
359
359
TypePosition pos);
360
360
361
- SubstitutionMap transformSubstitutionMap (SubstitutionMap subs);
361
+ // SubstitutionMap transformSubstitutionMap(SubstitutionMap subs);
362
362
363
363
CanType transformSILField (CanType fieldTy, TypePosition pos);
364
364
};
@@ -474,10 +474,13 @@ Type TypeSubstituter::transformDependentMemberType(DependentMemberType *dependen
474
474
return result;
475
475
}
476
476
477
+ // FIXME: This exposes a scalability issue; see test/SILGen/opaque_result_type_slow.swift.
478
+ /*
477
479
SubstitutionMap TypeSubstituter::transformSubstitutionMap(SubstitutionMap subs) {
478
480
// FIXME: Take level into account? Move level down into IFS?
479
481
return subs.subst(IFS);
480
482
}
483
+ */
481
484
482
485
CanType TypeSubstituter::transformSILField (CanType fieldTy, TypePosition pos) {
483
486
// Type substitution does not walk into the SILBoxType's field types, because
You can’t perform that action at this time.
0 commit comments