add (and/c vector? any-wrap/c) -like contracts
for VectorTop, HashTableTop, etc. going from typed to untyped
This commit is contained in:
parent
9bda1bfcbc
commit
d7670250d4
|
@ -346,7 +346,7 @@
|
|||
|
||||
(define (only-untyped sc)
|
||||
(if (from-typed? typed-side)
|
||||
(fail #:reason "contract generation not supported for this type")
|
||||
(and/sc sc any-wrap/sc)
|
||||
sc))
|
||||
(cached-match sc-cache type typed-side
|
||||
;; Applications of implicit recursive type aliases
|
||||
|
|
Loading…
Reference in New Issue
Block a user