summary refs log tree commit diff stats
path: root/tests/destructor/tprevent_assign2.nim
Commit message (Collapse)AuthorAgeFilesLines
* infer error for `=dup` if there is a custom `=copy` error hook (#22004)ringabout2023-06-051-2/+2
|
* lift the `=dup` hook (#21903)ringabout2023-06-021-3/+4
| | | | | | * fixes tests again * remove helper functions * fixes closures, owned refs * final cleanup
* new move analyser2 (#20471)Andreas Rumpf2022-10-011-2/+2
| | | | | | | | * produce better code for closure environment creation * new 'first write' analysis; * scope based move analyser * code cleanup Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
* 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>
* Change the order of compilation passes, transformation is made lazy at code ↵cooldome2018-10-181-17/+4
| | | | | | | | | | | | | | | gen (#8489) * Ast no transformation * Add getImplNoTransform to the macros module * progress on delaying transf * Fix methods tranformation * Fix lazy lambdalifting * fix create thread wrapper * transform for lambda lifting * improve getImplTransformed * Fix destructor tests * try to fix nimprof for linux
* DFA: implement exception handling properlyAndreas Rumpf2018-10-141-13/+33
|
* destructors: optimize more assignments into moves; also fixes #9294Andreas Rumpf2018-10-121-0/+48