summary refs log tree commit diff stats
path: root/tests/constr/tconstr1.nim
diff options
context:
space:
mode:
authorParashurama <Rhagdamaziel@ymail.com>2017-09-15 13:35:57 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-09-15 13:35:57 +0200
commit88a5e9d88ccc0a48daa2710e88d2efb8a7ae6468 (patch)
treefc9a16fad9b80cf34257d286e90f003f22630ae9 /tests/constr/tconstr1.nim
parent71b1377be918e10e9a279764747adbab73310688 (diff)
downloadNim-88a5e9d88ccc0a48daa2710e88d2efb8a7ae6468.tar.gz
Fix operations on string as openarray in VM. (#6257)
* fix openarray.len for string as openArray in VM.
* fix openarray[idx] for string as openArray in VM.
* fix openarray[idx]=val for string as openArray in VM.
* add tests for passing string as openArray in VM.
* fix issue with NimNode.len
NimNode.len was also returning len for string literals.
also fix logic bug in if/elif chain.
Diffstat (limited to 'tests/constr/tconstr1.nim')
0 files changed, 0 insertions, 0 deletions