Skip to content

Commit 3c17e05

Browse files
committed
[CSSolver] Property record opened pack expansion types
This is a bug which leads to accumulation of data in the constraint system even though most of it is out of scope.
1 parent 6da529f commit 3c17e05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/TypeOfReference.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ Type ConstraintSystem::openPackExpansionType(PackExpansionType *expansion,
318318
expansionVar, openedPackExpansion,
319319
expansionLoc));
320320

321-
OpenedPackExpansionTypes[openedPackExpansion] = expansionVar;
321+
recordOpenedPackExpansionType(openedPackExpansion, expansionVar);
322322
return expansionVar;
323323
}
324324

0 commit comments

Comments
 (0)