mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 17:27:33 +02:00
Fix regression in is-a?
This commit is contained in:
parent
ed167c71c1
commit
746d308a75
1 changed files with 2 additions and 1 deletions
|
@ -2027,7 +2027,8 @@
|
||||||
(define (is-a? obj rtype)
|
(define (is-a? obj rtype)
|
||||||
(and (record? obj)
|
(and (record? obj)
|
||||||
(record? rtype)
|
(record? rtype)
|
||||||
(equal? (vector-ref obj 1) rtype)))
|
(equal? (vector-ref obj 1)
|
||||||
|
(vector-ref rtype 1))))
|
||||||
|
|
||||||
(define-syntax define-record-type
|
(define-syntax define-record-type
|
||||||
(er-macro-transformer
|
(er-macro-transformer
|
||||||
|
|
Loading…
Add table
Reference in a new issue