Improve the index checking for array accesses; fixes #2120 #2669
As well as checking that offset we are reading is actually inside the array, we now also check that it is "in range" as defined by the Ix instance. This fixes confusing behaviour (#2120) and improves some error messages (#2669).
Loading
Please register or sign in to comment