fixes _ in contract-names for ->i
closes PR 11185
This commit is contained in:
parent
93ecaa0535
commit
1dc555e0af
|
@ -752,7 +752,9 @@
|
|||
#,(and (istx-ress an-istx)
|
||||
(for/list ([a-res (in-list (istx-ress an-istx))])
|
||||
`(,(if (arg/res-vars a-res) 'dep 'nodep)
|
||||
,(syntax-e (arg/res-var a-res))
|
||||
,(if (eres? a-res)
|
||||
'_
|
||||
(syntax-e (arg/res-var a-res)))
|
||||
,(if (arg/res-vars a-res)
|
||||
(map syntax-e (arg/res-vars a-res))
|
||||
'())
|
||||
|
|
|
@ -8881,6 +8881,8 @@ so that propagation occurs.
|
|||
(->i () #:pre () #t [q () number?] #:post () #t))
|
||||
(test-name '(->i ([x integer?]) #:pre (x) ... [q (x) ...] #:post (x) ...)
|
||||
(->i ([x integer?]) #:pre (x) #t [q (x) number?] #:post (x) #t))
|
||||
(test-name '(->i ([x real?]) [_ (x) ...])
|
||||
(->i ([x real?]) [_ (x) (>/c x)]))
|
||||
|
||||
(test-name '(case->) (case->))
|
||||
(test-name '(case-> (-> integer? any) (-> boolean? boolean? any) (-> char? char? char? any))
|
||||
|
|
Loading…
Reference in New Issue
Block a user