fix exn-handler test
svn: r8125
This commit is contained in:
parent
019ead4356
commit
9f4f7670d1
|
@ -1433,13 +1433,14 @@
|
||||||
(vector exn))
|
(vector exn))
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(raise 'except))))))
|
(raise 'except))))))
|
||||||
(test '(except) 'escape
|
(test '#((except)) 'escape
|
||||||
(with-handlers ([void (lambda (x) x)])
|
(with-handlers ([void (lambda (x) x)])
|
||||||
(values
|
(values
|
||||||
(call-with-exception-handler
|
(call-with-exception-handler
|
||||||
(lambda (exn)
|
(lambda (exn)
|
||||||
(vector exn))
|
(vector exn))
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
;; (Used to replace enclosing, but not any more)
|
||||||
(call-with-exception-handler
|
(call-with-exception-handler
|
||||||
(lambda (exn)
|
(lambda (exn)
|
||||||
(list exn))
|
(list exn))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user