summary refs log tree commit diff stats
path: root/tests/ccgbugs
Commit message (Collapse)AuthorAgeFilesLines
* Allow typeof(nil) as generic parameter (#11869)Oscar Nihlgård2019-08-031-2/+11
|
* fixes #11525Andreas Rumpf2019-06-261-1/+38
|
* make tests green againAraq2019-05-271-3/+2
|
* Allow void macro result (#11286)Arne Döring2019-05-211-1/+1
| | | | | * allow void macro result * add test for void macro result type
* closes #9825Araq2019-05-101-0/+11
|
* Add testcase for #9684 (#11221)Clyybber2019-05-101-0/+11
|
* Fix #9844 (#11216)Clyybber2019-05-091-1/+15
| | | | * Fixes #9844
* fixes #9578 (#11176)jcosborn2019-05-066-0/+108
| | | | | | * fixes #9578 * fixed and expanded test
* fixes #9403Araq2019-05-051-1/+20
|
* 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
* Fix varargs int32 (#11054)Arne Döring2019-04-181-0/+10
| | | | | * fixes #10999 * adds a test for #10999
* remove shadow warning, fixes #10732 (#11039)Miran2019-04-171-1/+1
|
* Fix edge case in type hashing (#10601) [backport]LemonBoy2019-02-081-0/+15
| | | | Empty types introduced by a template produced the same hash of the "clean" type sharing the same name.
* properly deprecate parseopt2 (#10452)Miran2019-01-251-2/+2
|
* add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵Timothee Cour2019-01-081-3/+3
| | | | | | | | | | | | | which leaked implementation detail (#10070) * add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2) fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim * Note: isNamedTuple is useful in other places, eg #10010 (comment) * move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim * remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work
* Dead code elimination for entire modules and their init procs if empty (#10032)cooldome2018-12-301-0/+2
| | | | | | * fixes #9798 * Change order of write modules * Move datInit calls ahead of initStackBottom
* lots of small changesArne Döring2018-12-116-10/+12
|
* megatest checks output and nimoutArne Döring2018-12-112-3/+2
|
* megatest can be executedArne Döring2018-12-111-16/+0
|
* require errormsg to be specified before file.Arne Döring2018-12-111-4/+4
|
* join simple testArne Döring2018-11-231-10/+0
|
* make run the default action of a test in testerArne Döring2018-11-236-2/+31
|
* make more tests green for C++; refs #7870Araq2018-10-304-2/+4
|
* make thavlak and tmarkerproc_regression tests take fewer iterations in order ↵Araq2018-10-171-3/+3
| | | | to speedup the CIs
* Merge tests into a larger file (part 5 of ∞) (#9368)Miran2018-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge magics * merge metatype tests * merge method tests * merge objects tests * change `import future` to `import sugar` Nim in Action tests are left with `import future`, to ensure compatibility. * merge overload tests * merge proc tests * merge procvar tests * merge range tests * merge seq tests * merge sets tests * remove wrong assert from `tsets3` * fix `jsTests` * better fix
* fixes #9297 (#9298)cooldome2018-10-111-1/+41
| | | | | | * fixes #9297 * improve spacing
* Fix wrong heuristic in codegen (#9293)LemonBoy2018-10-111-0/+22
| | | | | A bare return may trigger the insertion of a genericReset. Fixes #9286
* Codegen fix for procs taking type(nil) (#9231)xzfc2018-10-091-0/+6
|
* Fix codegen for some set operationsLemonBoy2018-09-281-0/+12
| | | | | | | Taking the LHS type when a temporary result value was needed lead to bad code being generated if we get a tyRef. Fixes #9098
* Merge pull request #8746 from LemonBoy/nil-optsAndreas Rumpf2018-09-231-0/+13
|\ | | | | nil strings are movable
| * nil strings are movableLemonBoy2018-09-221-0/+13
| |
* | Merge pull request #8983 from cooldome/codegen_crashAndreas Rumpf2018-09-181-1/+34
|\ \ | | | | | | Fixes 8979
| * | Fixes 8979Andrii Riabushenko2018-09-161-1/+34
| | |
* | | Fix codegen for set[T] parametersLemonBoy2018-09-151-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Sometimes sets are materialized as arrays and we must treat them as such: the CPP backend is pickier than the C one and would sometimes produce invalid code. Fixes #8967
* | | Fix hashing for codegenProc (sic) typesLemonBoy2018-09-141-0/+10
| | | | | | | | | | | | | | | | | | | | | Since the name mangling is inhibited we should take the user-supplied name during the sighash computation. Fixes #8964
* | | Fix semantic pass with borrowed magic procs (#8945)LemonBoy2018-09-111-0/+8
| | | | | | | | | Reported by pqflx3 on the forum.
* | | Always emit hti object types if needed (#8940)LemonBoy2018-09-111-0/+8
|/ / | | | | | | | | | | | | | | The compiler is now smart enough to emit types only if needed without all the importc tricks. This also fixes a codegen bug where, if all the stars align correctly, typeinfo doesn't include any definition of `TNimType` but uses it. Found by @skilchen in #8938
* | Allow wCodegenDecl on lambdas (#8892)LemonBoy2018-09-071-0/+13
| |
* | Codegen fix for function pointers marked inline (#8866)LemonBoy2018-09-042-0/+27
| | | | | | | | Fixes #5345 Fixes #5701
* | fixes #8781 by appending "_U" instead of 'U' (#8787)Vindaar2018-08-271-0/+25
|/
* make more tests green; system.repr does not produce 'nil' for strings and ↵Araq2018-08-221-2/+2
| | | | seqs anymore
* Fix unsound transform pass (#8633)LemonBoy2018-08-141-0/+8
| | | | | When a `var openArray[T]` function parameter goes trough the `transformAddrDeref` pass we may lose the `var` specifier, leading to nasty crashes at runtime.
* Fixes 8616 (#8617)LemonBoy2018-08-123-0/+16
| | | | | | | | * Don't leave dangling forward references to types Fixes #8616 * Add a test case for #8616
* fixes #7392 (#7395)cooldome2018-03-232-1/+8
|
* Fixes #7363 (#7371)cooldome2018-03-201-0/+14
|
* Codegen: use type forward declarations more aggresively. Fixes #7339 (#7340)cooldome2018-03-162-0/+27
| | | Do not emit object definition it if used only by ref or ptr
* fixes #7332 (#7341)andri lim2018-03-161-0/+29
|
* fixes #6960Andreas Rumpf2018-02-111-0/+31
|
* Fixes codegen bug with literal negative zero, fixes #7079 (#7158)GULPF2018-01-311-0/+9
| | | | | | * Fixes #7079 * Fix handling of neg zero during constant folding
* fixes #668Araq2017-12-151-0/+26
|
h=devel&id=581572b28c65bc9fe47974cfd625210a69be0f3f'>^
281609c35 ^
053309e60 ^

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