Fix issue #336
This commit is contained in:
parent
6621bd5b32
commit
af385d6932
|
@ -320,7 +320,7 @@
|
|||
(% move-dotted-rest-to-dmap (cgen (context-add-var context dbound) s-dty t-dty) dbound dbound*)))]
|
||||
[((seq ss (dotted-end s-dty dbound))
|
||||
(seq ts (dotted-end t-dty dbound*)))
|
||||
#:when (inferable-index? context dbound*)
|
||||
#:return-unless (inferable-index? context dbound*) #f
|
||||
#:return-unless (= (length ss) (length ts)) #f
|
||||
(% cset-meet
|
||||
(cgen/list context ss ts)
|
||||
|
|
8
typed-racket-test/succeed/gh-issue-336.rkt
Normal file
8
typed-racket-test/succeed/gh-issue-336.rkt
Normal file
|
@ -0,0 +1,8 @@
|
|||
#lang typed/racket
|
||||
|
||||
;; Test for github issue #336
|
||||
|
||||
(: foo (∀ (A ... B ...) (→ (List (→ A ... B) ...)
|
||||
Any)))
|
||||
(define (foo f)
|
||||
(apply conjoin f))
|
Loading…
Reference in New Issue
Block a user