Fix promotion/demotion for vector/boxes.
svn: r9702
This commit is contained in:
parent
03eac9472e
commit
f466da04d1
|
@ -28,8 +28,8 @@
|
|||
(define (inv t) (if (V-in? V t) Univ t))
|
||||
(type-case vp T
|
||||
[#:F name (if (memq name V) Univ T)]
|
||||
[#:Vector t (inv t)]
|
||||
[#:Box t (inv t)]
|
||||
[#:Vector t (make-Vector (inv t))]
|
||||
[#:Box t (make-Box (inv t))]
|
||||
[#:Hashtable k v
|
||||
(if (V-in? V v)
|
||||
Univ
|
||||
|
@ -52,8 +52,8 @@
|
|||
(define (inv t) (if (V-in? V t) (Un) t))
|
||||
(type-case vd T
|
||||
[#:F name (if (memq name V) (Un) T)]
|
||||
[#:Vector t (inv t)]
|
||||
[#:Box t (inv t)]
|
||||
[#:Vector t (make-Vector (inv t))]
|
||||
[#:Box t (make-Box (inv t))]
|
||||
[#:Hashtable k v
|
||||
(if (V-in? V v)
|
||||
(Un)
|
||||
|
|
Loading…
Reference in New Issue
Block a user