fixed small bug in enum-universe.
This commit is contained in:
parent
c5381d4cb3
commit
a9fb7b0fef
|
@ -56,7 +56,8 @@
|
||||||
(define (enum-set-universe x)
|
(define (enum-set-universe x)
|
||||||
(unless (enum-set? x)
|
(unless (enum-set? x)
|
||||||
(die 'enum-set-universe "not an enum set" x))
|
(die 'enum-set-universe "not an enum set" x))
|
||||||
(make-enum-set (enum-set-type x) -1))
|
(let ([t (enum-set-type x)])
|
||||||
|
(make-enum-set (enum-set-type x) (enum-type-mask t))))
|
||||||
|
|
||||||
(define (enum-set-indexer x)
|
(define (enum-set-indexer x)
|
||||||
(unless (enum-set? x)
|
(unless (enum-set? x)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1568
|
1569
|
||||||
|
|
Loading…
Reference in New Issue