uiua-lang / uiua

A stack-based array programming language
https://www.uiua.org
MIT License
1.62k stars 117 forks source link

crash: chunk size must be non-zero #609

Closed memark closed 6 days ago

memark commented 6 days ago

Uiua 0.13.0 as well as 0.14.0-dev.2

Run the following code:

uiua eval "⬚0+ ? =0↯⊙⊚ 1 0 [0_0 0_0]"

the interpreter crashes:

image

(This is a reduced example, just in case you think that the code doesn't make much sense. 😄)

kaikalii commented 6 days ago

Fixed in 53466b9456c36bce.

kaikalii commented 6 days ago

Jk it's not quite correct yet

kaikalii commented 6 days ago

Fixed for real in 291c99502ceb40

memark commented 5 days ago

Confirmed. Thanks.