Fix bad contract and clashing provides in TR when contracts are enabled.
This commit is contained in:
parent
030e56311e
commit
3dfd4c52a9
|
@ -27,7 +27,7 @@
|
||||||
[cond-contracted c-meet ((c? c?) (symbol?) . ->* . c?)]))
|
[cond-contracted c-meet ((c? c?) (symbol?) . ->* . c?)]))
|
||||||
|
|
||||||
(define-signature restrict^
|
(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^
|
(define-signature infer^
|
||||||
([cond-contracted infer ((;; variables from the forall
|
([cond-contracted infer ((;; variables from the forall
|
||||||
|
|
|
@ -12,7 +12,11 @@
|
||||||
"tc-error.rkt")
|
"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
|
;; unfold : Type -> Type
|
||||||
|
|
Loading…
Reference in New Issue
Block a user