Fix contract.

original commit: 938dc7d41efca8d27dba973af11f7e3c9d916d5d
This commit is contained in:
Vincent St-Amour 2014-09-11 10:42:42 -04:00
parent 3b4ca8dac1
commit 0af045fcf3

View File

@ -320,7 +320,7 @@
;; Wrapper over possible-domains that works on types.
(provide/cond-contract
[cleanup-type ((Type/c) ((or/c #f Type/c)) . ->* . Type/c)])
[cleanup-type ((Type/c) ((or/c #f Type/c) any/c) . ->* . Type/c)])
(define (cleanup-type t [expected #f] [permissive? #t])
(match t
;; function type, prune if possible.