Skip to content

Commit 38f6387

Browse files
committed
Avoid contract checks on struct type predicates.
1 parent a95123d commit 38f6387

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

typed-racket-lib/typed-racket/utils/any-wrap.rkt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@
278278
;; We can trust that these obey the type (-> Any Boolean).
279279
(define (struct-predicate-procedure?/c x)
280280
(and (or (struct-predicate-procedure? x)
281-
(cpointer-predicate-procedure? x))
281+
(cpointer-predicate-procedure? x)
282+
(struct-type-property-predicate-procedure? x))
282283
(not (impersonator? x))))
283284

284285
(provide any-wrap/c any-wrap-warning/c struct-predicate-procedure?/c)

0 commit comments

Comments
 (0)