Fix contract.
original commit: 938dc7d41efca8d27dba973af11f7e3c9d916d5d
This commit is contained in:
parent
3b4ca8dac1
commit
0af045fcf3
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user