Don't fail early here.
svn: r12729 original commit: 587ca084669594f2d58b8a9152127e78ec364acb
This commit is contained in:
parent
fe7eb33c59
commit
d0a893f9a1
|
@ -685,7 +685,9 @@
|
|||
(tc/app/internal #'(#%plain-app apply . args) expected)]
|
||||
;; special-er case for (apply values (list x y z))
|
||||
[(#%plain-app apply values e)
|
||||
(cond [(untuple (tc-expr/t #'e)) => (lambda (t) (ret (-values t)))]
|
||||
(cond [(with-handlers ([exn:fail? (lambda _ #f)])
|
||||
(untuple (tc-expr/t #'e)))
|
||||
=> (lambda (t) (ret (-values t)))]
|
||||
[else (tc/apply #'values #'(e))])]
|
||||
;; special case for `apply'
|
||||
[(#%plain-app apply f . args) (tc/apply #'f #'args)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user