Skip to content

Commit d1619bf

Browse files
committed
fix or/c contracts
1 parent 7f3f20f commit d1619bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

typed-racket-lib/typed-racket/static-contracts/instantiate.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
. ->* . (or/c a (list/c (listof syntax?) syntax?))))]
3131
[instantiate
3232
(parametric->/c (a) ((static-contract? (-> #:reason (or/c #f string?) a))
33-
(contract-kind? #:cache hash? #:recursive-kinds #f)
33+
(contract-kind? #:cache hash? #:recursive-kinds (or/c hash? #f))
3434
. ->* . (or/c a (list/c (listof syntax?) syntax?))))]
3535
[should-inline-contract? (-> syntax? boolean?)])
3636

typed-racket-lib/typed-racket/static-contracts/optimize.rkt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
(provide/cond-contract
20-
[optimize ((static-contract?) (#:trusted-positive boolean? #:trusted-negative boolean? #:recursive-kinds hash?)
20+
[optimize ((static-contract?) (#:trusted-positive boolean? #:trusted-negative boolean? #:recursive-kinds (or/c #f hash?))
2121
. ->* . static-contract?)])
2222

2323
;; Reduce a static contract to a smaller simpler one that protects in the same way

0 commit comments

Comments
 (0)