Fix handling of rest arg contracts.
svn: r9910
This commit is contained in:
parent
e8123b83ec
commit
c3c6131b9e
|
@ -95,7 +95,7 @@
|
||||||
[_ #`(values #,@rngs*)])]
|
[_ #`(values #,@rngs*)])]
|
||||||
[rst* rst])
|
[rst* rst])
|
||||||
(if rst
|
(if rst
|
||||||
#'(dom* ... #:rest (listof rst*) . -> . rng*)
|
#'((dom* ...) () #:rest (listof rst*) . ->* . rng*)
|
||||||
#'(dom* ... . -> . rng*))))
|
#'(dom* ... . -> . rng*))))
|
||||||
(match (map f arrs)
|
(match (map f arrs)
|
||||||
[(list e) e]
|
[(list e) e]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user