Skip to content

Commit e599c8b

Browse files
committed
[CS] NFC: Remove unused variable
1 parent 78bcb2e commit e599c8b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/Sema/CSApply.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4521,14 +4521,8 @@ namespace {
45214521
auto subscript = cast<SubscriptDecl>(overload.choice.getDecl());
45224522
assert(!subscript->isGetterMutating());
45234523

4524-
auto indexType = AnyFunctionType::composeInput(
4525-
cs.getASTContext(),
4526-
subscript->getInterfaceType()->castTo<AnyFunctionType>()->getParams(),
4527-
/*canonicalVararg=*/false);
4528-
45294524
// Compute substitutions to refer to the member.
45304525
auto ref = resolveConcreteDeclRef(subscript, locator);
4531-
indexType = indexType.subst(ref.getSubstitutions());
45324526

45334527
// If this is a @dynamicMemberLookup reference to resolve a property
45344528
// through the subscript(dynamicMember:) member, restore the

0 commit comments

Comments
 (0)