Fix bug in type of apply-pattern-substitute
.
Found by @takikawa.
This commit is contained in:
parent
07e0c3a789
commit
3273944af5
|
@ -173,7 +173,7 @@
|
|||
(-> Univ Univ Univ)]
|
||||
;; from the expansion of `with-syntax'
|
||||
[(make-template-identifier 'apply-pattern-substitute 'racket/private/stxcase)
|
||||
(->* (list (-Syntax Univ) Univ) Univ Any-Syntax)]
|
||||
(->* (list (-Syntax Univ) Univ) Univ (-Syntax Univ))]
|
||||
;; same
|
||||
[(make-template-identifier 'with-syntax-fail 'racket/private/with-stx)
|
||||
(-> (-Syntax Univ) (Un))]
|
||||
|
|
|
@ -3020,7 +3020,8 @@
|
|||
(define (f) (values "foo" 'bar))
|
||||
(f))
|
||||
#:ret (ret (list (t:Un -String -Void) (t:Un -Symbol -Void)))]
|
||||
|
||||
[tc-e (syntax->datum #`(#,(lambda (x) x)))
|
||||
#:ret (ret Univ)]
|
||||
)
|
||||
|
||||
(test-suite
|
||||
|
|
Loading…
Reference in New Issue
Block a user