mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
guard should use raise-continuable (issue #661)
This commit is contained in:
parent
e8f1233e18
commit
06cef55723
1 changed files with 4 additions and 1 deletions
|
@ -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 ...)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue