fix box/c and vector/c obligations
closes PR 13673
This commit is contained in:
parent
6f7c938c0b
commit
ccda5a84ad
|
@ -122,7 +122,10 @@
|
||||||
(list* (cadr args) (car args) new-args)))]
|
(list* (cadr args) (car args) new-args)))]
|
||||||
[else (append (reverse new-args)
|
[else (append (reverse new-args)
|
||||||
(cons (syntax-property
|
(cons (syntax-property
|
||||||
(car args)
|
(syntax-property
|
||||||
|
(car args)
|
||||||
|
'racket/contract:negative-position
|
||||||
|
this-one)
|
||||||
'racket/contract:positive-position
|
'racket/contract:positive-position
|
||||||
this-one)
|
this-one)
|
||||||
(cdr args)))])))
|
(cdr args)))])))
|
||||||
|
|
|
@ -25,8 +25,11 @@
|
||||||
[else
|
[else
|
||||||
(loop (cdr args)
|
(loop (cdr args)
|
||||||
(cons (syntax-property
|
(cons (syntax-property
|
||||||
(car args)
|
(syntax-property
|
||||||
'racket/contract:positive-position
|
(car args)
|
||||||
|
'racket/contract:positive-position
|
||||||
|
this-one)
|
||||||
|
'racket/contract:negative-position
|
||||||
this-one)
|
this-one)
|
||||||
new-args))])))
|
new-args))])))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user