From 405cc23b3d99f21126f43fce861337cccb4255e7 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Sun, 5 Oct 2025 22:07:26 -0700 Subject: [PATCH] fix --- examples/closure.reef | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/closure.reef b/examples/closure.reef index 16c0f45..2046d77 100644 --- a/examples/closure.reef +++ b/examples/closure.reef @@ -1,6 +1,6 @@ ; Closure example: counter function that captures state ; outer() returns inner() which increments and returns captured count -MAKE_FUNCTION () #8 +MAKE_FUNCTION () #10 PUSH 0 PUSH 0 CALL @@ -13,7 +13,7 @@ HALT ; Outer function body PUSH 0 STORE count -MAKE_FUNCTION () #8 +MAKE_FUNCTION () #14 RETURN ; Inner function body (closure over count) LOAD count