Fix PR 9918.
svn: r12480
This commit is contained in:
parent
1bb01c05cd
commit
d1fca9c04a
|
@ -431,7 +431,7 @@
|
||||||
(if (Row-unmatch (car blocks))
|
(if (Row-unmatch (car blocks))
|
||||||
#`(let/ec k
|
#`(let/ec k
|
||||||
(let ([#,(Row-unmatch (car blocks))
|
(let ([#,(Row-unmatch (car blocks))
|
||||||
(lambda () (k (#,esc)))])
|
(lambda () (call-with-values #,esc k))])
|
||||||
rhs))
|
rhs))
|
||||||
#'rhs))])
|
#'rhs))])
|
||||||
;; then compile the rest, with our name as the esc
|
;; then compile the rest, with our name as the esc
|
||||||
|
|
|
@ -577,5 +577,11 @@
|
||||||
[(vector a b) a]
|
[(vector a b) a]
|
||||||
[else 'bad]))
|
[else 'bad]))
|
||||||
|
|
||||||
|
(comp '(1 2)
|
||||||
|
(call-with-values
|
||||||
|
(lambda ()
|
||||||
|
(match 'foo [_ (=> skip) (skip)] [_ (values 1 2)]))
|
||||||
|
list))
|
||||||
|
|
||||||
|
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user