Fix an unfortunate bug in Union construction.
original commit: beefe73f7e7b6fbb547f327e206f447e4f6815b0
This commit is contained in:
parent
4c43cfb76c
commit
f7cdf5f1ae
|
@ -34,7 +34,7 @@
|
|||
(cons a b)]
|
||||
[((? (λ _ (subtype a b*))) _) b]
|
||||
[((? (λ _ (subtype b* a))) _) (list a)]
|
||||
[(_ _) (cons a b)]))
|
||||
[(_ _) (cons a (filter-not (λ (b-elem) (subtype b-elem a)) b))]))
|
||||
|
||||
;; Type -> List[Type]
|
||||
(define (flat t)
|
||||
|
|
Loading…
Reference in New Issue
Block a user