mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SILGen] Remove SubstitutionList from most of key-path SIL generation.
This commit is contained in:
@@ -1264,9 +1264,9 @@ void SILGenModule::tryEmitPropertyDescriptor(AbstractStorageDecl *decl) {
|
||||
return;
|
||||
}
|
||||
|
||||
SubstitutionList subs = {};
|
||||
SubstitutionMap subs = {};
|
||||
if (genericEnv)
|
||||
subs = genericEnv->getForwardingSubstitutions();
|
||||
subs = genericEnv->getForwardingSubstitutionMap();
|
||||
|
||||
if (auto sub = dyn_cast<SubscriptDecl>(decl)) {
|
||||
for (auto *index : *sub->getIndices()) {
|
||||
|
||||
Reference in New Issue
Block a user