summary refs log tree commit diff stats
path: root/tests/destructor
Commit message (Collapse)AuthorAgeFilesLines
* iterators: several small fixes (#11162)Miran2019-05-041-1/+1
| | | | | | * fix pairs, mpairs, mitems for cstring for JS backend * add mutation check for pairs and mpairs for strings and seqs * change the assertion message - modifying (changing elements) is not a problem, changing the length is
* Destructor lifting fixes #11149 (#11163)cooldome2019-05-041-0/+61
| | | | | | * fixes #11149 * add test
* decent borrow check for --newruntimeAraq2019-05-021-5/+13
|
* added unown test caseAraq2019-04-291-0/+68
|
* make twidgets example green (#11135)Andreas Rumpf2019-04-283-11/+12
|
* newruntime: progress...Andreas Rumpf2019-04-271-1/+4
|
* preparations to make the twidgets test workAraq2019-04-261-0/+74
|
* fixes #11095 (#11104)Andreas Rumpf2019-04-251-9/+25
| | | * fixes #11095
* fixes #11065Araq2019-04-221-2/+20
|
* fixes #11073Araq2019-04-221-0/+35
|
* fixes #11053Andreas Rumpf2019-04-191-0/+92
|
* fixes #11050Araq2019-04-171-1/+20
|
* make move-analysis smarter; see tuse_ownedref_after_move test caseAraq2019-04-161-0/+60
|
* 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