summary refs log tree commit diff stats
path: root/compiler/closureiters.nim
Commit message (Collapse)AuthorAgeFilesLines
* make case-object transitions explicit, make unknownLineInfo a const, replace ↵Jasper Jenkins2020-01-171-1/+1
| | | | a few magic numbers with consts (#13170)
* fixes #12956 (#13020)Andreas Rumpf2020-01-031-1/+2
|
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-32/+32
| | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls
* Fixed yield in nkCheckedFieldExpr (#12429) [backport]Yuriy Glukhov2019-10-151-2/+3
|
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-2/+2
|
* closureiters.nim: finish the bugfixAndreas Rumpf2019-09-101-1/+1
|
* Fixed yield in nnkChckRange (#12160)Yuriy Glukhov2019-09-101-2/+2
|
* Reset closure iter exception before rethrowingYuriy Glukhov2019-08-161-6/+5
|
* 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
/mu/commit/subx/012elf.cc?h=hlt&id=630433cd9cb97cf71d24bfc8fab6fb54ce40382a'>630433cd ^
9527eda9 ^
a1305217 ^
6602c82f ^

708eae31 ^
f1b3d7b9 ^


a413105a ^
630433cd ^
f1b3d7b9 ^
a413105a ^
a413105a ^
f1b3d7b9 ^
9527eda9 ^
f1b3d7b9 ^

4a99a6e0 ^
f1b3d7b9 ^

a413105a ^
f1b3d7b9 ^



6362c51d ^



9ad81331 ^
6362c51d ^
c442a5ad ^

f1b3d7b9 ^
708eae31 ^

9527eda9 ^
96b2216b ^
fd7198b2 ^
96b2216b ^
fd7198b2 ^
96b2216b ^



414d9413 ^
96b2216b ^



630433cd ^
96b2216b ^

414d9413 ^
4a99a6e0 ^

630433cd ^

fd7198b2 ^
630433cd ^

9527eda9 ^

665a4d70 ^
9527eda9 ^

630433cd ^
96b2216b ^


1f4d0aaf ^
fbc21293 ^
44fdc79f ^






6f6d458f ^




c88b9e31 ^

e5998f74 ^

1f4d0aaf ^
e0a0484c ^
e5998f74 ^
c442a5ad ^
e0a0484c ^
7a22a219 ^

e0a0484c ^
7a22a219 ^
e0a0484c ^

708eae31 ^



96b2216b ^



414d9413 ^


1a33d221 ^
708eae31 ^
cd23c8b6 ^
414d9413 ^


2097401c ^
708eae31 ^


708eae31 ^
087a998e ^
a066ad7e ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193