Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Adjust conformance tests to account for array invariant (#1289)
These were written before compiler optimizations and array invariant. It is now impossible for t[1] to be stored in the hash part, as this would violate the array invariant that says that elements 1..#t are stored in the array. For ipairs, it doesn't traverse the hash part anymore now, so we adjust the code to make sure no elements outside of the 1..#t slice are covered. For table.find, we can use find-with-offset to still access the hash part. Fixes #1283.
- Loading branch information