summary refs log tree commit diff stats
path: root/tests/system/tsystem_misc.nim
Commit message (Collapse)AuthorAgeFilesLines
* Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. (#9316)c-blake2018-10-121-0/+5
| | | | | | | | | | | * Add `toOpenArray[T](ptr UncheckedArray[T])` for clarity. `ptr array[0,T]` for some unchecked type already works but A) `UncheckedArray` seems to be the intended future way for this kind of access, and B) essentially all use cases will have a `ptr` for that kind of array source and this call signature lets callers drop the trailing `[]` corresponding to that `ptr` deref. This PR relates to issue https://github.com/nim-lang/Nim/issues/9001 . * Add a test for toOpenArray() for UncheckedArray[T]s.
* fixes #9281Araq2018-10-111-0/+15
|
* Add proc toOpenArray[byte] for strings (#7820)Dmitry Atamanov2018-07-071-0/+16
|
* test negative range arraynitely2018-06-061-0/+14
|
* check bounds instead of indexnitely2018-06-051-0/+25
|
* added toOpenArray builtin for zero-copy slices; syntax sugar yet to comeAraq2018-03-241-1/+28
|
* fixes #6710Andreas Rumpf2017-11-081-0/+4
|
* Implementation of high/low for SomeReal (#6570)Fabian Keller2017-10-301-0/+18