Guard type-equal? test.
This commit is contained in:
parent
34fef6e538
commit
8194bcc4d4
|
@ -19,7 +19,7 @@
|
||||||
(define (has-name? t)
|
(define (has-name? t)
|
||||||
(and print-aliases
|
(and print-aliases
|
||||||
(for/first ([(n t*) (in-pairs (in-list ((current-type-names))))]
|
(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)))
|
n)))
|
||||||
|
|
||||||
(define (print-filter c port write?)
|
(define (print-filter c port write?)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user