Closed evanrichter closed 1 year ago
Thanks for the report! Good catch, I thought I fixed this a while back but guess I didn't catch all the cases. The identifiers are getting interned and on error they get rolled back, looks like its leaving it in a funny state. I'll take a look
Looks like once we redefine the function, we're getting a fresh object, and my function creation logic for selecting the spans was perhaps not handling that - will have an MR up shortly to address as I think I've fixed it here.
confirmed on my end as well, amazing!
found a panic in the interpreter while playing around, and minimized it to this sequence:
run with
./target/release/steel < crash.scm
( I set
debug = true
for this build so line numbers are present)