Guard type-equal? test.

This commit is contained in:
Sam Tobin-Hochstadt 2010-05-27 12:46:37 -04:00
parent 34fef6e538
commit 8194bcc4d4

View File

@ -19,7 +19,7 @@
(define (has-name? t)
(and print-aliases
(for/first ([(n t*) (in-pairs (in-list ((current-type-names))))]
#:when (type-equal? t t*))
#:when (and (Type? t*) (type-equal? t t*)))
n)))
(define (print-filter c port write?)