Many tests are leaving ArrayElementAccess in the final intermediate intent. Although the final ii is solvable, not all ArrayElementAccesss are being removed.
Likely related to #528, though not confirmed yet
For example: non_const_index.yrt fails with
...
compiler internal error: array element access present in final intent exprs slotmap
@40..44: array element access present in final intent exprs slotmap
The test is below.
let n: int;
let a: int[10];
constraint a[n] == 3;
solve satisfy;
Many tests are leaving
ArrayElementAccess
in thefinal intermediate intent
. Although thefinal ii
is solvable, not allArrayElementAccess
s are being removed.Likely related to #528, though not confirmed yet
For example:
non_const_index.yrt
fails withThe test is below.