about summary refs log tree commit diff
path: root/tvix/eval/src/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/compiler')
-rw-r--r--tvix/eval/src/compiler/scope.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/compiler/scope.rs b/tvix/eval/src/compiler/scope.rs
index 1a89ad6a0649..ef4b4d51e118 100644
--- a/tvix/eval/src/compiler/scope.rs
+++ b/tvix/eval/src/compiler/scope.rs
@@ -210,7 +210,7 @@ impl Scope {
         Self {
             poisoned_tokens: self.poisoned_tokens.clone(),
             scope_depth: self.scope_depth + 1,
-            with_stack_size: self.with_stack_size + 1,
+            with_stack_size: self.with_stack_size,
             ..Default::default()
         }
     }