summary refs log tree commit diff stats
path: root/compiler/varpartitions.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix #15909 (#15914)Fanael Linithien2020-11-121-0/+1
|
* Fix 15629 (#15888)cooldome2020-11-091-10/+13
| | | | | | | | | | | * fix #15858 * fix space * fix #15629 * Revert "fix space" * Revert "fix #15858"
* fix #15756 (#15761)cooldome2020-10-281-1/+1
| | | | | * fix #15756 * simplify test
* ensure the Nim compiler works with --experimental:strictFuncs ↵Andreas Rumpf2020-10-261-1/+8
| | | | --experimental:views [backport:1.4] (#15737)
* fixes #15508 (#15509)Andreas Rumpf2020-10-071-6/+13
|
* implements https://github.com/nim-lang/RFCs/issues/258 (#15503)Andreas Rumpf2020-10-061-3/+2
| | | | | | | | | * implements https://github.com/nim-lang/RFCs/issues/258 * don't be too strict with custom pragma blocks * cast pragmas: documentation * added most missing inference query procs to effecttraits.nim
* views: yet another bugfix (#15447)Andreas Rumpf2020-10-011-4/+22
| | | | | | | * views: yet another bugfix * views: extended the spec * views: take into account potential hidden mutations via proc calls
* refactoring, fixes yet another strictFuncs regression (#15446)Andreas Rumpf2020-10-011-7/+13
|
* better support for view types (#15436)Andreas Rumpf2020-09-301-8/+46
| | | | | * you can put borrows into tables * enforces mutating views only mutate mutable data
* spec for view types (#15424)Andreas Rumpf2020-09-291-21/+175
| | | | | | | | | | | * 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
* cursor inference: makes combparser work; refactorings (#15411)Andreas Rumpf2020-09-261-68/+71
| | | | * cursor inference: makes combparser work; refactorings
* more precise borrow checking of 'result' (#15406)Andreas Rumpf2020-09-241-2/+7
|
* fixes #15361 (#15401)Andreas Rumpf2020-09-241-36/+131
| | | * fixes #15361; better cursor inference
* arc: =deepcopy fixesAraq2020-09-201-1/+0
|
* fixes #15325 (#15340)Andreas Rumpf2020-09-161-2/+11
|
* fixes #15147 (#15315)Andreas Rumpf2020-09-121-1/+1
|
* borrow checking refinements (#15290)Andreas Rumpf2020-09-091-2/+18
| | | * added basic borrowing test
* borrow checking (#15282)Andreas Rumpf2020-09-091-18/+18
| | | | | | | | | | | * refactoring: move procs to typeallowed.nim * frontend preparations for first class openArray support * prepare the code generator for first class openArray * code generation for first class openArray; WIP * code generation for open arrays, progress * added isViewType proc * preparations for borrow checking * added borrow checking to the front end
* strict funcs: use control flow information for a more precise analysis (#15271)Andreas Rumpf2020-09-061-20/+79
| | | | | * strict funcs: use control flow information for a more precise analysis * cursor inference uses control flow information
* fixes system.add for strict funcs (#15259)Andreas Rumpf2020-09-031-1/+1
| | | | | * fixes system.add for strict funcs * fixes #15248
* better strict funcs, WIP (#15199)Andreas Rumpf2020-08-181-5/+21
| | | | | * better strict funcs, WIP * progress
* fixes a collect() bug reported on the forum (#15156) [backport:1.2]Andreas Rumpf2020-08-041-1/+1
|
* fixes #15130 (#15141)Andreas Rumpf2020-08-011-1/+5
| | | | | * fixes #15130 * you really have to copy from cursors
* fixes #15111 (#15136)Andreas Rumpf2020-08-011-0/+2
|
* cursor and mutation tracking fixes (#15113)Andreas Rumpf2020-07-301-56/+239
| | | | | | | | * fixes #15110 * fixes #15096 * prepare varpartitions for cursor inference * new cursor inference begins to work * make tests green
* strict func: much better error messages (#15068)Andreas Rumpf2020-07-251-33/+73
| | | | | * strict func: much better error messages * documented the 'strict funcs' mode
* writing to a location counts as "side effect"; implements ↵Andreas Rumpf2020-07-251-0/+243
https://github.com/nim-lang/RFCs/issues/234 (#15030)