summary refs log tree commit diff stats
path: root/lib/std/jsonutils.nim
diff options
context:
space:
mode:
authorJason Beetham <beefers331@gmail.com>2022-10-20 15:59:57 -0600
committerGitHub <noreply@github.com>2022-10-20 23:59:57 +0200
commit4aa67ad7fd3179bd46fbeb793c3c71d14d9021a0 (patch)
tree6aca6bc5377e8a7462bd4f9d7eb02753e1eb1921 /lib/std/jsonutils.nim
parentff2cb113ad85fdc340c1585db148a464830471db (diff)
downloadNim-4aa67ad7fd3179bd46fbeb793c3c71d14d9021a0.tar.gz
Implemented `mSlice` on the VM allowing `toOpenArray` to work at compile 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
Diffstat (limited to 'lib/std/jsonutils.nim')
0 files changed, 0 insertions, 0 deletions