lua: do-block proper lexical scoping (wrap in (let () …)) +2 tests
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled

This commit is contained in:
2026-04-24 20:19:01 +00:00
parent d361d83402
commit 54d7fcf436
5 changed files with 42 additions and 31 deletions

View File

@@ -437,7 +437,7 @@
(list (make-symbol "_for_loop"))))))
(list (make-symbol "_for_loop")))))))
(define lua-tx-do (fn (node) (lua-tx (nth node 1))))
(define lua-tx-do (fn (node) (list (make-symbol "let") (list) (lua-tx (nth node 1)))))
(define
lua-tx-return