summary refs log tree commit diff stats
path: root/tests/destructor
Commit message (Collapse)AuthorAgeFilesLines
* dfa.nim: track object/tuple field accesses more precisely; sink(o.x); ↵Araq2019-04-163-4/+39
| | | | sink(o.y) needs to compile; activate the tuple unpacking transf.nim bugfix
* Extend the fix for #11018 to strings (#11031)Clyybber2019-04-151-1/+9
| | | | | | * Extend the fix for #11018 to strings * Fix testcase
* Fixes #11018 (#11019)Clyybber2019-04-141-0/+11
|
* fix reraise (#11017)cooldome2019-04-131-4/+8
|
* fixes #11004Araq2019-04-121-0/+7
|
* newruntime: raising an exception works but currently leaks memory because ↵Araq2019-04-101-0/+38
| | | | currentException global is not an 'owned' ref
* enable more testsAraq2019-04-101-23/+22
|
* enable most tnewruntime_strutils testsAraq2019-04-101-38/+28
|
* newruntime: fixes another bugAraq2019-04-102-1/+242
|
* destructors: we are cooking nowAraq2019-04-061-2/+3
|
* destructors: progressAndreas Rumpf2019-04-051-2/+2
|
* fixes destructor tuple regression #10940 (#10941)cooldome2019-04-041-0/+48
| | | | | | | | * fixes #10940 * bug fixes * fix spacing
* simple program works with --newruntimeAraq2019-04-021-11/+11
|
* more destructor based changes (#10885)Andreas Rumpf2019-03-232-0/+16
| | | | | | | | | | | * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures
* Size ptr tuple (#10846)Arne Döring2019-03-182-0/+83
| | | | | | * fixes #10117 * Add support for recursive tuples * detect in generics
* revert discard in destroyer (#10840)cooldome2019-03-152-23/+1
| | | | | | * revert discard in destroyer * disable test
* make tests green againAndreas Rumpf2019-03-053-0/+3
|
* make megatest green againAndreas Rumpf2019-03-059-0/+15
|
* make tests green againAndreas Rumpf2019-03-047-24/+14
|
* gc:destructors: progressAndreas Rumpf2019-02-281-1/+64
|
* discard destroys its argument in-place (#9478)LemonBoy2019-02-231-0/+18
|
* add tests for recently closed issues (#10722)Miran2019-02-231-1/+2
|
* gc:destructors: progressAndreas Rumpf2019-02-211-1/+10
|
* gc:destructors: add first test programAndreas Rumpf2019-02-191-0/+17
|
* Do not walk into type sub-nodes for cast/conv expr (#10616)LemonBoy2019-02-131-0/+18
|
* isLastRead regression fix (#10463)cooldome2019-01-281-0/+9
| | | | | | * fixes #10462 * add a test
* destructors: first step towards fixing #9617 (#10341)cooldome2019-01-182-0/+23
|
* destructors: lift type bound operations for case and distinct objects (#10238)cooldome2019-01-101-21/+50
|
* testament: joinable is now an explicit concept of a test specAndreas Rumpf2018-12-111-0/+1
|
* lots of small changesArne Döring2018-12-112-3/+6
|
* use control flow graph for sink paramsAndrii Riabushenko2018-12-091-3/+7
|
* Double sink checksAndrii Riabushenko2018-12-081-6/+6
|
* improve testAndrii Riabushenko2018-12-071-3/+8
|
* add testAndrii Riabushenko2018-12-051-1/+10
|
* move movesAndrii Riabushenko2018-11-291-2/+31
|
* Destructors: more moves for tuples (#9808)cooldome2018-11-271-2/+6
|
* Fixes multiple bugs with sink arguments (#9802)cooldome2018-11-261-2/+50
| | | | | | * fixes #9781 * fix spacing
* Destructors: move into nkTupleConstr and move on tuple unpacking (#9776)cooldome2018-11-222-8/+72
|
* fixes #9743Araq2018-11-191-1/+11
|
* added test case for #9594Araq2018-11-031-0/+31
|
* Change the order of compilation passes, transformation is made lazy at code ↵cooldome2018-10-182-17/+57
| | | | | | | | | | | | | | | 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-124-2/+65
|
* fixes #9263Andreas Rumpf2018-10-101-0/+117
|
* don't require an implementation for procs marked with .error; activate the ↵Araq2018-09-291-0/+33
| | | | move optimizer for destructors
* make t7346 work againAndreas Rumpf2018-09-241-0/+10
|
* C codegen: support system.move and system.wasMovedAndreas Rumpf2018-09-241-0/+19
|
* enable destructors for top level statements; needs to be documentedAndreas Rumpf2018-09-242-1/+3
|
* MoveGanesh Viswanathan2018-09-141-0/+19
|
* workaround the fact that top level statements currently don't produce ↵Araq2018-08-211-6/+9
| | | | destructor calls