Fix contracts on TR functions
original commit: 86093f88beb97120f1fe41a38e8c4741ff1043bc
This commit is contained in:
parent
0dd6b87991
commit
fcc096d51d
|
@ -20,8 +20,7 @@
|
|||
[cond-contracted check-subforms/with-handlers/check (syntax? tc-results/c . -> . any)]))
|
||||
|
||||
(define-signature check-class^
|
||||
;; FIXME: make sure this is correct
|
||||
([cond-contracted check-class (syntax? Type/c . -> . any)]))
|
||||
([cond-contracted check-class (syntax? (or/c tc-results/c #f) . -> . any)]))
|
||||
|
||||
(define-signature tc-if^
|
||||
([cond-contracted tc/if-twoarm ((syntax? syntax? syntax?) (tc-results/c) . ->* . tc-results/c)]))
|
||||
|
|
|
@ -113,7 +113,8 @@
|
|||
|
||||
(provide/cond-contract
|
||||
[unfold (Mu? . -> . Type/c)]
|
||||
[instantiate-poly ((or/c Poly? PolyDots?) (listof Type/c) . -> . Type/c)]
|
||||
[instantiate-poly ((or/c Poly? PolyDots? PolyRow?) (listof Type/c)
|
||||
. -> . Type/c)]
|
||||
[instantiate-poly-dotted
|
||||
(PolyDots? (listof Type/c) Type/c symbol? . -> . Type/c)]
|
||||
[fv (Rep? . -> . (listof symbol?))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user