Closed gtnoble closed 1 year ago
https://github.com/sasagawa888/eisl/blob/b89f39d4d3996013301eef72dc647c126ac0bdac/tests/bug.lsp#L70-L75
(defun foo-unwind () (unwind-protect (foo) (print "cleanup")))
Using the interpreter, this is the current output:
> (foo) "inner handler continued" "inner handler continued" "outer handler continued" NIL > (foo-unwind) "outer handler continued" "outer handler continued" "outer handler continued" "cleanup" NIL
The correct output for foo-unwind should be:
foo-unwind
"inner handler continued" "inner handler continued" "outer handler continued" "cleanup"
This appears to work properly now.
https://github.com/sasagawa888/eisl/blob/b89f39d4d3996013301eef72dc647c126ac0bdac/tests/bug.lsp#L70-L75
Using the interpreter, this is the current output:
The correct output for
foo-unwind
should be: