1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-30 07:03:02 +00:00

Don't assign variables positions on the stack that clobber import info.

(return address, previous basepoint, etc.)
This commit is contained in:
Calvin Rose
2024-06-16 10:06:22 -05:00
parent dfdf734fc7
commit c413bc2b4e
2 changed files with 10 additions and 13 deletions

View File

@@ -19,8 +19,8 @@
(set i (the int (+ 1 i)))
(printf "i = %d\n" i))
(printf "hello, world!\n%d\n" (the int (if x abc xyz)))
(return (* abc xyz))))
#(return (the int (simple (* abc xyz))))))
#(return (* abc xyz))))
(return (the int (simple (* abc xyz))))))
(def doloop
'(defn doloop [x:int y:int]