Closed versvisa closed 5 months ago
This should be fixed in pre-release 0.5.8.0 (https://github.com/untoldwind/KontrolSystem2/releases/tag/v0.5.8.0). I was already working on improvements to the REPL system. The command-line is not integrated into the console itself (not entirely finished yet).
I'm surprised that the outcome is different for REPL vs. normal code.
I just stumbled over this while debugging another issue, which turned out to be my fault.
Version: 0.5.7.9
On the REPL:
(if (1 < 0) 12 else 34).to_string()
Expected result:
"34"
Actual result: