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 @@ -329,7 +329,7 @@ class TypeSubstituter : public TypeTransform<TypeSubstituter> {
329
329
std::optional<Type> transformLocalArchetypeType (LocalArchetypeType *local,
330
330
TypePosition pos);
331
331
332
- SubstitutionMap transformSubstitutionMap (SubstitutionMap subs);
332
+ // SubstitutionMap transformSubstitutionMap(SubstitutionMap subs);
333
333
334
334
CanType transformSILField (CanType fieldTy, TypePosition pos);
335
335
};
@@ -446,10 +446,13 @@ Type TypeSubstituter::transformDependentMemberType(DependentMemberType *dependen
446
446
return conformance.getTypeWitness (substBase, assocType, IFS.getOptions ());
447
447
}
448
448
449
+ // FIXME: This exposes a scalability issue; see test/SILGen/opaque_result_type_slow.swift.
450
+ /*
449
451
SubstitutionMap TypeSubstituter::transformSubstitutionMap(SubstitutionMap subs) {
450
452
// FIXME: Take level into account? Move level down into IFS?
451
453
return subs.subst(IFS);
452
454
}
455
+ */
453
456
454
457
CanType TypeSubstituter::transformSILField (CanType fieldTy, TypePosition pos) {
455
458
// Type substitution does not walk into the SILBoxType's field types, because
You can’t perform that action at this time.
0 commit comments