Fix bad contract and clashing provides in TR when contracts are enabled.
original commit: 3dfd4c52a9ef0caeee283ed82e061ae8cab4a95d
This commit is contained in:
parent
d93803cdeb
commit
ceb8feedcc
|
@ -27,7 +27,7 @@
|
|||
[cond-contracted c-meet ((c? c?) (symbol?) . ->* . c?)]))
|
||||
|
||||
(define-signature restrict^
|
||||
([cond-contracted restrict ((Type/c Type/c) ((or/c 'new 'orig)) ->* Type/c)]))
|
||||
([cond-contracted restrict ((Type/c Type/c) ((or/c 'new 'orig)) . ->* . Type/c)]))
|
||||
|
||||
(define-signature infer^
|
||||
([cond-contracted infer ((;; variables from the forall
|
||||
|
|
|
@ -12,7 +12,11 @@
|
|||
"tc-error.rkt")
|
||||
|
||||
|
||||
(provide (all-from-out "tc-result.rkt" "tc-error.rkt"))
|
||||
;; Don't provide things that may be exported with a contract
|
||||
(provide (except-out (all-from-out "tc-result.rkt" "tc-error.rkt")
|
||||
tc-error/expr
|
||||
lookup-fail
|
||||
lookup-type-fail))
|
||||
|
||||
|
||||
;; unfold : Type -> Type
|
||||
|
|
Loading…
Reference in New Issue
Block a user