summary refs log tree commit diff stats
path: root/tests/views
Commit message (Collapse)AuthorAgeFilesLines
* view types: spec changes (#18226)Andreas Rumpf2021-06-101-5/+4
| | | | | | | | | | | | | * view types: spec changes * Update doc/manual_experimental.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update doc/manual_experimental.rst Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* close #17636 (#17643)flywind2021-04-061-3/+2
|
* ensure the Nim compiler works with --experimental:strictFuncs ↵Andreas Rumpf2020-10-262-0/+15
| | | | --experimental:views [backport:1.4] (#15737)
* fixes view types for sizeof() and --gc:orc (#15680)Andreas Rumpf2020-10-221-1/+1
|
* const view types; fixes some cases from ↵Andreas Rumpf2020-10-051-0/+26
| | | | https://github.com/nim-lang/Nim/issues/15428 (#15488)
* better support for view types (#15436)Andreas Rumpf2020-09-302-0/+88
| | | | | * you can put borrows into tables * enforces mutating views only mutate mutable data
* spec for view types (#15424)Andreas Rumpf2020-09-294-8/+22
| | | | | | | | | | | * spec for view types * spec additions * refactoring; there are two different kinds of views * refactorings and spec additions * enforce that view types are initialized * enforce borrowing from the first formal parameter * enforce lifetimes for borrowing of locals * typo in the manual * clarify in the implementation what a borrow operation really is
* produce runtime type information for reified openArrays (#15415)Andreas Rumpf2020-09-271-0/+42
| | | | | * produce runtime type information for reified openArrays * added a test case
* better support for slices as views (#15414)Andreas Rumpf2020-09-273-0/+82
* moved view tests to tests/views * refactoring * more refactorings * better support for system.toOpenArray for first class view types