We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ea0650 commit 8c5558eCopy full SHA for 8c5558e
1 file changed
CSharp.lua/LuaSyntaxNodeTransform.cs
@@ -191,6 +191,7 @@ public void PopBlock() {
191
if (block.TempCount > 0) {
192
Contract.Assert(CurFunction.TempCount >= block.TempCount);
193
CurFunction.TempCount -= block.TempCount;
194
+ block.TempCount = 0;
195
}
196
197
0 commit comments