summary refs log tree commit diff stats
path: root/compiler/seminst.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #3055Andreas Rumpf2016-07-081-1/+1
|
* fixes #4177Andreas Rumpf2016-05-281-2/+4
|
* fixes #4097Andreas Rumpf2016-04-191-7/+7
|
* added experimental .this pragmaAndreas Rumpf2016-02-281-1/+43
|
* fixes #3476Araq2015-10-271-2/+2
|
* fixes #3338Araq2015-10-221-1/+7
|
* renamed inCompilesContext to compilesContextId; added test case for #3313Araq2015-09-181-3/+3
|
* fixes #3313Araq2015-09-181-4/+7
|
* fixes #3329Araq2015-09-181-1/+1
|
* usage of NimNode triggers .compileTime context; fixes #1679Araq2015-09-141-0/+2
|
* fixes generic instantations in conceptsAraq2015-09-121-0/+3
|
* Merge pull request #3177 from zah/generic-types-in-macrosAndreas Rumpf2015-08-141-12/+13
|\ | | | | Generic types in macros
| * fix #1858 again; restores the support for static macro paramsZahary Karadjov2015-08-021-12/+13
| |
* | fixes #2752Araq2015-08-091-3/+4
|/
* fixes #2470, fixes #1354Araq2015-04-281-1/+3
|
* fixes #2509Araq2015-04-111-1/+4
|
* fixes #794Araq2015-03-071-16/+16
|
* fixes #2215Araq2015-02-251-10/+11
|
* fixes #2125Araq2015-02-181-8/+18
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* fixes #2004Araq2015-02-081-4/+9
|
* Revert 5e4ae8dDustin Lacewell2015-01-071-13/+12
|
* fix #1858; Add support for generic templates and macrosZahary Karadjov2015-01-051-12/+13
| | | | | | | | | Implementation notes: Just after overload resolution, the resolved generic params will be added to the call expression to be later processed in evalTemplate and evalMacroCall. These procs have been modified to handle the increased number of parameters, but one remaining issue is that immediate templates and macros don't go through the same process. The next commit will outlaw the use of generic parameters with such macros.
* fix #1789 (binding to static params during generic proc sigmatch)Zahary Karadjov2014-12-311-1/+3
|
* fixes #1055Araq2014-11-161-3/+6
|
* Nimrod renamed to NimAraq2014-08-281-1/+1
|
* fixes #669Araq2014-08-141-1/+2
|
* Fixed #1172 (for real)Clay Sweetser2014-06-011-3/+5
|
* removed flawed thread analysis passAraq2014-04-201-3/+0
|
* make some tests greenZahary Karadjov2014-03-161-7/+9
|
* more robust handling of proc signatures containing inter-param type referencesZahary Karadjov2014-03-161-11/+58
|
* first phase of tyGenericParam reforms needed for static paramsZahary Karadjov2014-03-161-6/+3
|
* implements higher-order inline iterators and return type inference for iteratorsZahary Karadjov2014-03-081-1/+1
|
* progress towards fixing tgenericshardcasesZahary Karadjov2014-01-061-2/+1
|
* clean-up some obsolete code; close #602Zahary Karadjov2013-12-311-146/+8
|
* handle recursive types during the instantiation of meta types; propagate ↵Zahary Karadjov2013-12-301-0/+1
| | | | tfHasMeta more carefully
* Merge branch 'upstream' into develZahary Karadjov2013-12-291-9/+32
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: compiler/ccgutils.nim compiler/msgs.nim compiler/sem.nim compiler/semexprs.nim compiler/seminst.nim compiler/semmagic.nim compiler/semstmts.nim compiler/semtypes.nim compiler/semtypinst.nim compiler/sigmatch.nim compiler/types.nim compiler/vmgen.nim lib/core/macros.nim lib/system.nim tests/reject/tenummix.nim web/news.txt
| * integrate the logic of fixupProcType into ReplaceTypeVarsZahary Karadjov2013-12-291-1/+2
| |
| * make more tests greenZahary Karadjov2013-12-291-1/+18
| |
| * lift generic parameters from concrete composite type classesZahary Karadjov2013-12-281-1/+4
| |
| * towards support for composite type classes such as seq[Number] and ↵Zahary Karadjov2013-12-271-2/+4
| | | | | | | | SquareMatrix[T]
| * static params: expr[T] is now static[T]Zahary Karadjov2013-12-191-4/+4
| | | | | | | | | | | | | | This introduces tyStatic and successfully bootstraps and handles few simple test cases. Static params within macros are no longer treated as PNimrodNodes - they are now equivalent to constants of the designated type.
* | case consistency: cs:partial bootstraps on windowsAraq2013-12-291-5/+5
| |
* | case consistency: next stepsAraq2013-12-291-1/+1
| |
* | case consistency part 4Araq2013-12-271-16/+16
| |
* | case consistency part 1Araq2013-12-271-5/+3
|/
* progress towards adding negative type classesZahary Karadjov2013-12-091-2/+3
| | | | | | [unittest bugfixes] the block form of check now allows comments errors when inspecting the arguments of var-accepting procs
* Experimental support for delayed instantiation of genericsZahary Karadjov2013-08-231-6/+43
| | | | | | | | | | | | | | | | | | | | This postpones the semantic pass over the generic's body until the generic is instantiated. There are several pros and cons for this method and the capabilities that it enables may still be possible in the old framework if we teach it a few new trick. Such an attempt will follow in the next commits. pros: 1) It allows macros to be expanded during generic instantiation that will provide the body of the generic. See ``tmacrogenerics``. 2) The instantiation code is dramatically simplified. Dealing with unknown types in the generic's body pre-pass requires a lot of hacky code and error silencing in semTypeNode. See ``tgenericshardcases``. cons: 1) There is a performance penalty of roughly 5% when bootstrapping. 2) Certain errors that used to be detected in the previous pre-pass won't be detected with the new scheme until instantiation.
* hacky fix for generic constraints matchingZahary Karadjov2013-08-191-0/+2
|
* work-in-progress for compiling generics in their owner moduleZahary Karadjov2013-08-191-3/+4
|
xclusive_container.cc?h=hlt&id=5e320aa049bc1d5ad78eec23be0127f4a8d6ec3d'>^
7bf9212f ^

3473c63a ^
15936c91 ^
fe2725d9 ^

271f101f ^
2b250717 ^
fe2725d9 ^
bd613461 ^
3473c63a ^
bd613461 ^
9dcbec39 ^
eefde1b9 ^

3473c63a ^
15936c91 ^

9dcbec39 ^
7bf9212f ^

96bb317f ^



3473c63a ^
15936c91 ^
b24eb476 ^
96bb317f ^
2b250717 ^
eefde1b9 ^

b24eb476 ^
3473c63a ^
15936c91 ^
3473c63a ^
15936c91 ^
7bf9212f ^
59874868 ^
b24eb476 ^
3473c63a ^
a89c1bed ^
6e793202 ^
0c1ae52f ^

6c96a437 ^
0c1ae52f ^
a89c1bed ^
0c1ae52f ^

7bf9212f ^
dd994cda ^

a89c1bed ^
15936c91 ^
dd994cda ^
59874868 ^
dd994cda ^
b98d3876 ^
bd613461 ^
15936c91 ^
8e1c4783 ^



bd613461 ^
af023b32 ^



bd613461 ^
3473c63a ^
bd613461 ^





1ead3562 ^
192d59d3 ^


d52406cc ^
bd613461 ^
9dcbec39 ^
bd613461 ^
0c1ae52f ^

192d59d3 ^


d52406cc ^
0c1ae52f ^


9a81d746 ^
b98d3876 ^


192d59d3 ^

b98d3876 ^
dd2e01e4 ^
acc4792d ^

b98d3876 ^


72d5d018 ^
b98d3876 ^
02a55f71 ^
f592d862 ^



f592d862 ^
377b00b0 ^
f592d862 ^


a0b9fa55 ^
f592d862 ^

377b00b0 ^
f592d862 ^
9dcbec39 ^
f592d862 ^
02a55f71 ^


192d59d3 ^

02a55f71 ^
1ead3562 ^
192d59d3 ^


02a55f71 ^




2eab85b3 ^
5ba1c3b9 ^


5ba1c3b9 ^
192d59d3 ^
5ba1c3b9 ^


192d59d3 ^
5ba1c3b9 ^
1ead3562 ^
5ba1c3b9 ^








192d59d3 ^
5ba1c3b9 ^


192d59d3 ^
5ba1c3b9 ^
1ead3562 ^
192d59d3 ^

5ba1c3b9 ^
192d59d3 ^
5ba1c3b9 ^
835d98a1 ^

192d59d3 ^
835d98a1 ^


192d59d3 ^

835d98a1 ^

192d59d3 ^
835d98a1 ^






1211a3ab ^
5ba1c3b9 ^

a89c1bed ^
835d98a1 ^


5ba1c3b9 ^
2b250717 ^
5ba1c3b9 ^

3473c63a ^
5ba1c3b9 ^

2b250717 ^
5ba1c3b9 ^

3473c63a ^
a89c1bed ^
5ba1c3b9 ^







5ba1c3b9 ^
192d59d3 ^
5ba1c3b9 ^


192d59d3 ^

5ba1c3b9 ^
1ead3562 ^
5ba1c3b9 ^









192d59d3 ^
5ba1c3b9 ^


192d59d3 ^

5ba1c3b9 ^
1ead3562 ^
5ba1c3b9 ^




5ba1c3b9 ^
192d59d3 ^
5ba1c3b9 ^


192d59d3 ^

5ba1c3b9 ^
1ead3562 ^
5ba1c3b9 ^







5ba1c3b9 ^
192d59d3 ^
5ba1c3b9 ^


192d59d3 ^

5ba1c3b9 ^
1ead3562 ^
5ba1c3b9 ^






192d59d3 ^
5ba1c3b9 ^


192d59d3 ^

5ba1c3b9 ^
1ead3562 ^
5ba1c3b9 ^



7bf9212f ^

192d59d3 ^
7bf9212f ^


192d59d3 ^

7bf9212f ^






2eab85b3 ^

1211a3ab ^
c432e73a ^

2eab85b3 ^
c6034af3 ^
3473c63a ^
15936c91 ^
af023b32 ^


2eab85b3 ^
2eab85b3 ^



192d59d3 ^

2eab85b3 ^
2eab85b3 ^
192d59d3 ^
2eab85b3 ^

1ead3562 ^
192d59d3 ^



2eab85b3 ^






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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459