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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user