summary refs log tree commit diff stats
path: root/tests/vm/topenarrays.nim
Commit message (Collapse)AuthorAgeFilesLines
* Unpack mSlice tupleconstr for static openarrays (#20615)Jason Beetham2022-10-221-0/+4
|
* closes #19969; add testcase for #19969 #15952 #16306 (#20610)ringabout2022-10-211-0/+27
| | | closes #19969; add testcase
* Implemented `mSlice` on the VM allowing `toOpenArray` to work at compile ↵Jason Beetham2022-10-201-0/+38
time. (#20586) * Implemented opcSlice to make 'toOpenArray' work on the VM * Added nkOpenArray for VM to reduce bodgeness * Fixed range issues and erraneous comments * Range check correctly for openArrays in opcLdArr * Inverted logic for ldArr checking * vm now supports slicing strings * Added string tests * Removed usage of 'nkOpenArray' and redundant operations * Refactored vmSlice implementation, removing redundant and incorrect code * Made tuples go throw opcWrObj for field assignment * All strkinds should be considered for openarrays