uiua-lang / uiua

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

Compiler crash in uiua v0.11 #527

Closed deviantdingo closed 4 months ago

deviantdingo commented 4 months ago

Reporting as per error message, full error below.

The application panicked (crashed). Message: index out of bounds: the len is 0 but the index is 0 Location: /home/username/.local/share/rust/cargo/registry/src/index.crates.io-6f17d22bba15001f/uiua-0.11.1/src/array.rs:386

Backtrace omitted.

Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. Error: The compiler has crashed! Hooray! You found a bug! Please report this at http://github.com/uiua-lang/uiua/issues/new or on Discord at https://discord.gg/9CU2ME4kmn.

Uiua version 0.11.1

code: ∵△ □ []

deviantdingo commented 4 months ago

NB: the code (∵△ □ []) seems to behave properly in uiua pad

deviantdingo commented 4 months ago

Apologies for the comment spam and closing/reopening the issue: I'm bad at github ui.

kaikalii commented 4 months ago

This was fixed a little while ago. You can download a dev release if you like from here.