Switched indexing to integers in the typechecker's special cases for
heterogenous vectors and unsafe struct operations. original commit: 3c9e7e34db69a6112f8aa87c4e5c3edcd550b4ab
This commit is contained in:
parent
1d48090ecb
commit
93728d1ebd
|
@ -472,7 +472,7 @@
|
|||
[(tc-result1: (Value: (? number? i))) i]
|
||||
[_ #f]))])
|
||||
(cond [(not ival)
|
||||
(check-below e-t -Nat)
|
||||
(check-below e-t -Integer)
|
||||
(if expected
|
||||
(check-below (ret (apply Un flds)) expected)
|
||||
(ret (apply Un flds)))]
|
||||
|
@ -529,7 +529,7 @@
|
|||
[(tc-result1: (Value: (? number? i))) i]
|
||||
[_ #f]))])
|
||||
(cond [(not ival)
|
||||
(check-below e-t -Nat)
|
||||
(check-below e-t -Integer)
|
||||
(if expected
|
||||
(check-below (ret (apply Un es)) expected)
|
||||
(ret (apply Un es)))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user