summary refs log tree commit diff stats
path: root/tests/destructor/tconsume_twice.nim
Commit message (Collapse)AuthorAgeFilesLines
* renamed '=' to '=copy' [backport:1.2] (#15585)Andreas Rumpf2020-10-151-1/+1
| | | | | | | | | * Assign hook name changed to `=copy` * Adapt destructors.rst * [nobackport] Duplicate tests for =copy hook * Fix tests * added a changelog entry Co-authored-by: Clyybber <darkmine956@gmail.com>
* sink parameter inference for types that have destructors (#13544)Andreas Rumpf2020-03-041-2/+2
| | | | | | | | | | | | | | * 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
* fixes #11257Araq2019-05-241-5/+8
|
* fixes move analyser; refs #11257Araq2019-05-241-0/+12