fix box/c-as-expression
closes PR 15341
This commit is contained in:
parent
753d97335c
commit
6983adc31d
|
@ -55,6 +55,9 @@
|
|||
'box/c7
|
||||
'(set-box! (contract (box/c boolean? any/c) (box 12) 'pos 'neg) 11))
|
||||
|
||||
(test/pos-blame
|
||||
'box/c8
|
||||
'(contract ((values box/c) any/c) #f 'pos 'neg))
|
||||
|
||||
(test/neg-blame
|
||||
'box/c-with-cons/c-inside
|
||||
|
|
|
@ -184,7 +184,7 @@
|
|||
[x
|
||||
(identifier? #'x)
|
||||
(syntax-property
|
||||
(syntax/loc stx box/c)
|
||||
(syntax/loc stx box/c/proc)
|
||||
'racket/contract:contract
|
||||
(vector (gensym 'ctc) (list #'x) null))]
|
||||
[(b/c arg ...)
|
||||
|
|
Loading…
Reference in New Issue
Block a user