summary refs log tree commit diff stats
path: root/compiler/closureiters.nim
Commit message (Collapse)AuthorAgeFilesLines
* int128 on firstOrd, lastOrd and lengthOrd (#11701)Arne Döring2019-08-071-6/+6
| | | | * fixes #11847
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-2/+2
|
* [refactoring] closureiters.nim: style changeAraq2019-06-201-132/+130
|
* more destructor based changes (#10885)Andreas Rumpf2019-03-231-2/+2
| | | | | | | | | | | * 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
* Fixes 9716 [backport] (#9790)Yuriy Glukhov2018-11-241-8/+9
| | | | | | * reuse temporary variable * fixes #9716 [backport] * Declare local vars in safer place
* Fixed yield in nkObjConstr. Fixes #9694 [backport] (#9744)Yuriy Glukhov2018-11-181-9/+15
| | | | | * Fixed yield in nkObjConstr. Fixes #9694 * Separate expr lowering from state splitting, introduce a clear lowering internal error
* Field checks for everybody (#8957)LemonBoy2018-10-091-5/+5
| | | | | | | | | | | | | | | | | | | | | * Field checks for JS backend * Clean nkCall nodes with no arguments Generating a nkEmpty in place of no arguments makes no sense form the AST point of view and also trips up the VM codegen. * Field checks for VM backend * Test case for #6612 This patchset fixes #6612 * Add test case for LHS double evaluation * Prevent LHS double-eval for JS backend * Prevent double evaluation in VM backend
* Fixes #8243 (#8904)Yuriy Glukhov2018-09-071-0/+19
|
* Fixes #8851 (#8859)Yuriy Glukhov2018-09-041-3/+3
|
* Make sure addGotoOut always inserts its node (#8843)LemonBoy2018-09-031-1/+1
| | | Fixes #8773
* Fixed #8399 (#8401)Yuriy Glukhov2018-07-221-1/+1
|
* fixex merge conflictsAraq2018-06-081-26/+26
|
* Fixes #7985Yuriy Glukhov2018-06-071-9/+8
|
* Fixed yield in nkBlockExprYuriy Glukhov2018-06-071-2/+14
|
* Fixed yield in dotExpr and nkOfBranch lowering. Closes #7969.Yuriy Glukhov2018-06-061-2/+15
|
* CosmeticsYuriy Glukhov2018-06-051-18/+13
|
* Merge branch 'devel' into yield-in-tryYuriy Glukhov2018-05-151-72/+78
|
* Review comments addressed. More thorough line info tracking.Yuriy Glukhov2018-05-101-65/+65
|
* Fixed line infoYuriy Glukhov2018-05-091-0/+1
|
* CosmeticsYuriy Glukhov2018-05-091-162/+75
|
* Small fix and cosmeticsYuriy Glukhov2018-05-091-6/+1
|
* Corrected nkExceptBranch transformationYuriy Glukhov2018-05-091-13/+24
|
* More elaborate nkStmtListExpr loweringYuriy Glukhov2018-05-091-32/+372
|
* CleanupYuriy Glukhov2018-05-091-49/+31
|
* Yield in tryYuriy Glukhov2018-05-091-89/+497
|
* Minor dry upYuriy Glukhov2018-05-091-5/+3
|
* CosmeticsYuriy Glukhov2018-05-091-23/+24
|
* Closure iter transformationYuriy Glukhov2018-05-091-0/+632