guard should use raise-continuable (issue #661)

This commit is contained in:
Alex Shinn 2020-06-19 17:48:29 +09:00
parent e8f1233e18
commit 06cef55723

View file

@ -32,7 +32,10 @@
(lambda () (lambda ()
(let ((var condition)) ; clauses may SET! var (let ((var condition)) ; clauses may SET! var
(guard-aux (handler-k (lambda () (guard-aux (handler-k (lambda ()
(raise condition))) ;; must be raise-continuable
;; in case the original
;; exception was continuable
(raise-continuable condition)))
clause ...)))))))) clause ...))))))))
(lambda () (lambda ()
(let ((res (let () e1 e2 ...))) (let ((res (let () e1 e2 ...)))