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> {
358358 std::optional<Type> transformLocalArchetypeType (LocalArchetypeType *local,
359359 TypePosition pos);
360360
361- SubstitutionMap transformSubstitutionMap (SubstitutionMap subs);
361+ // SubstitutionMap transformSubstitutionMap(SubstitutionMap subs);
362362
363363 CanType transformSILField (CanType fieldTy, TypePosition pos);
364364};
@@ -474,10 +474,13 @@ Type TypeSubstituter::transformDependentMemberType(DependentMemberType *dependen
474474 return result;
475475}
476476
477+ // FIXME: This exposes a scalability issue; see test/SILGen/opaque_result_type_slow.swift.
478+ /*
477479SubstitutionMap TypeSubstituter::transformSubstitutionMap(SubstitutionMap subs) {
478480 // FIXME: Take level into account? Move level down into IFS?
479481 return subs.subst(IFS);
480482}
483+ */
481484
482485CanType TypeSubstituter::transformSILField (CanType fieldTy, TypePosition pos) {
483486 // Type substitution does not walk into the SILBoxType's field types, because
You can’t perform that action at this time.
0 commit comments