Thinkoed, all of them should have -lst added.
This commit is contained in:
parent
6986b12618
commit
3e4e5af03c
|
@ -80,11 +80,11 @@
|
||||||
[else
|
[else
|
||||||
(let ([rest-type (cond
|
(let ([rest-type (cond
|
||||||
[rest-ty rest-ty]
|
[rest-ty rest-ty]
|
||||||
[(type-annotation rest) (-lst (get-type rest))]
|
[(type-annotation rest) (get-type rest)]
|
||||||
[(< arg-len tys-len) (-lst (list-ref arg-tys arg-len))]
|
[(< arg-len tys-len) (list-ref arg-tys arg-len)]
|
||||||
[else (-lst (Un))])])
|
[else (Un)])])
|
||||||
(with-lexical-env/extend
|
(with-lexical-env/extend
|
||||||
(list rest) (list rest-type)
|
(list rest) (list (-lst rest-type))
|
||||||
(check-body)))])))
|
(check-body)))])))
|
||||||
(syntax-case args ()
|
(syntax-case args ()
|
||||||
[(args* ...)
|
[(args* ...)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user