Skip to content

Commit 56976c5

Browse files
committed
[CSApply] Register argument matches for dynamic member lookup subscripts
We missed this before because the argument/parameter types are equal.
1 parent c21c9b0 commit 56976c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Sema/CSApply.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3687,6 +3687,8 @@ namespace {
36873687
if (!argExpr)
36883688
return nullptr;
36893689

3690+
solution.recordSingleArgMatchingChoice(cs.getConstraintLocator(expr));
3691+
36903692
// Build an argument list.
36913693
auto *argList =
36923694
ArgumentList::forImplicitSingle(ctx, ctx.Id_dynamicMember, argExpr);

0 commit comments

Comments
 (0)