What happened?
Run the attached snippet. We expect the codepath (f "correct" nil) -> (f "wrong" "correct") -> (print "correct") but instead observe (f "correct" nil) -> ... -> (print "wrong"). I really don't know what could be going on in the middle to cause this to happen.
What ArkScript version are you seeing the problem on?
master
Operating System
Windows
Compiler used
None
Compiler version used
No response
Relevant code & log output
(let f (fun (a b) (if (nil? b) (f "wrong" a) (print b))))
(f "correct" nil)
-----------------------
Connecting to server...
Please wait...
arkscript /tmp/63.ark; exit
arkscript /tmp/63.ark; exit
~ $ arkscript /tmp/63.ark; exit
wrong
Disconnected ⚡
Documentation
What happened?
Run the attached snippet. We expect the codepath
(f "correct" nil) -> (f "wrong" "correct") -> (print "correct")but instead observe(f "correct" nil) -> ... -> (print "wrong"). I really don't know what could be going on in the middle to cause this to happen.What ArkScript version are you seeing the problem on?
master
Operating System
Windows
Compiler used
None
Compiler version used
No response
Relevant code & log output
Documentation