You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to evaluate a cons pair like (1 . 1) causes panic.
~/workspace/lurk-rs $ lurkrs
Lurk REPL welcomes you.
> (1 . 1)
thread 'main' panicked at 'Can only extract car_cdr from Cons', /home/user/workspace/lurk-rs/src/store.rs:1943:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The text was updated successfully, but these errors were encountered:
Actually, no. There are two ways to fix the manifest problem, both of which need to be done.
The first is that a runtime error shouldn't cause the REPL to exit (with error). This is what #217 was going to fix. I'll make a PR fixing this in just a minute. [UPDATE: #236]
The second is that #201 doesn't actually cause evaluation of (1 . 1) to be an explicit error. It did revamp how those errors are handled, but didn't fix the case named in this issue. (It's very hard to tell from the diff whether it fixed any case, and no test was added. If we identify that some behavior was changed, we'll need to add a test and also ensure it's fixed in the circuit. I'm planning to work on the errors generally, and will include this in the set of case that need fixing in and out of circuit.)
Trying to evaluate a cons pair like
(1 . 1)
causes panic.The text was updated successfully, but these errors were encountered: