uiua-lang / uiua

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

I found a bug #352

Closed twoseed closed 10 months ago

twoseed commented 10 months ago

It told me to submit that's why I opened a new issue. btw I am new to Uiua

» x = &sc
↪ x ← &sc
test
» x
↪ x
The application panicked (crashed).
Message:  index out of bounds: the len is 0 but the index is 0
Location: /home/mythacker/.cargo/registry/src/index.crates.io-6f17d22bba15001f/uiua-0.7.1/src/compile.rs:1007

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

code:
x
» 
kaikalii commented 10 months ago

This has been fixed. You can install from the main branch with

uiua update --main
twoseed commented 10 months ago

Thanks it worked!