Allow functions with rest args in with-handlers.
original commit: d713a08cb596cad60cdf28f31b1ef34efe385731
This commit is contained in:
parent
90266f4b80
commit
34303c8300
|
@ -65,6 +65,8 @@
|
|||
(match t
|
||||
[(Function: (list _ ... (arr: (list arg1) _ _ #f (list (Keyword: _ _ #f) ...)) _ ...))
|
||||
(tc/funapp #'here #'(here) (ret t) (list (ret arg1)) #f)]
|
||||
[(Function: (list _ ... (arr: '() _ (? values rest) #f (list (Keyword: _ _ #f) ...)) _ ...))
|
||||
(tc/funapp #'here #'(here) (ret t) (list (ret rest)) #f)]
|
||||
[(? needs-resolving? t)
|
||||
(loop (resolve t))]
|
||||
[(or (Poly: ns _) (PolyDots: (list ns ... _) _))
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#lang typed/racket/base
|
||||
|
||||
(define (run-ground-vm)
|
||||
(with-handlers ([exn:break? void])
|
||||
(void)))
|
Loading…
Reference in New Issue
Block a user