testing with compiler/interpreter the case reported by eli added by mario-goulart on Tue Jan 14 19:54:24 2014
$ cat eli.scm (let () (define x 1) x) (print (handle-exceptions exn 'error x)) (print (let () (list (define x 1)))) (print x) $ csi -s eli.scm error (#<unspecified>) 1 $ csc eli.scm && ./eli error (1) 1