Skip to content

Commit 4c61867

Browse files
committed
[silgen] Quick drive by thinko fix.
Just noticed this while reading over this code. Disheartening that our tests did not catch it. = /.
1 parent 9afe41b commit 4c61867

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/SILGen/SILGenApply.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3690,6 +3690,9 @@ namespace {
36903690
applyFirstLevelCallee(formalType, origFormalType, substFnType,
36913691
foreignError, foreignSelf, uncurryLevel, C);
36923692

3693+
// End of the initial writeback scope.
3694+
initialWritebackScope.pop();
3695+
36933696
// Then handle the remaining call sites.
36943697
result = applyRemainingCallSites(std::move(result), formalType,
36953698
foreignSelf, foreignError, C);

0 commit comments

Comments
 (0)