summary refs log tree commit diff stats
path: root/doc/destructors.rst
Commit message (Collapse)AuthorAgeFilesLines
* arc optimizations (#13325)Andreas Rumpf2020-03-181-0/+1
| | | | | * scope based destructors * handle 'or' and 'and' expressions properly, see the new test arc/tcontrolflow.nim * make this branch mergable, logic is disabled for now
* sink parameter inference for types that have destructors (#13544)Andreas Rumpf2020-03-041-0/+17
| | | | | | | | | | | | | | * ensure capitalize doesn't take an inferred sink parameter * sink parameter inference: first version, for now disabled. Changed that sink parameters can be consumed multiple times in order to adhere to our spec. * sink inference can now be disabled with .nosinks; sometimes for proc type interop this is required * fixes yet another critical DFA bug * better implementation that also understands if expressions etc * document sink parameter inference and allow for global disabling
* make sink operator optional (#13068)cooldome2020-01-171-2/+6
| | | | | | | | | | | | | | | | * make sink operator optional * bug fix, add changelog entry * Trigger build * fix one regression * fix test * Trigger build * fix typos
* Fix typo in doc/destructors.rst (#13148)Tomohiro2020-01-141-1/+1
|
* destructors.rst: added a missing 'var' to the motivating exampleAraq2019-10-281-1/+1
|
* destructors: spec reflects reality, =sink is here to stayAndreas Rumpf2019-08-111-131/+135
|
* destructors spec: be more precise about temporariesAndreas Rumpf2019-07-271-1/+3
|
* added destructors.rst documentAndreas Rumpf2019-07-011-0/+563