fixed small bug in enum-universe.

This commit is contained in:
Abdulaziz Ghuloum 2008-08-03 14:18:11 -07:00
parent c5381d4cb3
commit a9fb7b0fef
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -1 +1 @@
1568 1569