We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee8ce80 commit 79c00eaCopy full SHA for 79c00ea
lib/Sema/CSDiag.cpp
@@ -4560,8 +4560,7 @@ bool FailureDiagnosis::visitSubscriptExpr(SubscriptExpr *SE) {
4560
4561
4562
CalleeCandidateInfo calleeInfo(Type(), result.ViableCandidates,
4563
- /*FIXME: Subscript trailing closures*/
4564
- /*hasTrailingClosure*/false, CS,
+ SE->hasTrailingClosure(), CS,
4565
/*selfAlreadyApplied*/false);
4566
4567
// We're about to typecheck the index list, which needs to be processed with
0 commit comments