Sema: Record argument lists in the trail

This commit is contained in:
Slava Pestov
2024-10-04 17:17:42 -04:00
parent f2412f318e
commit 72a60728fc
5 changed files with 27 additions and 19 deletions

View File

@@ -14665,7 +14665,7 @@ ConstraintSystem::simplifyRestrictedConstraintImpl(
getASTContext(), {Argument(SourceLoc(), Identifier(), nullptr)},
/*firstTrailingClosureIndex=*/std::nullopt,
AllocationArena::ConstraintSolver);
ArgumentLists.insert({argumentsLoc, argList});
recordArgumentList(argumentsLoc, argList);
}
auto *memberTypeLoc = getConstraintLocator(