Stream: beginners

Topic: repl crash on if-else


view this post on Zulip Ron Panduwana (Feb 22 2023 at 02:09):

when following the tutorial:

  The rockin’ roc repl
────────────────────────

Enter an expression, or :help, or :q to quit.

» if x > 5 then
…     Ok "foo"
… else
…     Err "bar"
"\x08^t\x08\x01"
thread 'main' panicked at 'Roc hit an error', crates/repl_cli/src/cli_gen.rs:128:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

view this post on Zulip Richard Feldman (Feb 22 2023 at 03:25):

oops, thanks for finding this! Would you mind opening an issue at https://github.com/roc-lang/roc/issues for this?


Last updated: Jul 06 2025 at 12:14 UTC