summary refs log tree commit diff stats
path: root/tests/discard
Commit message (Collapse)AuthorAgeFilesLines
* fixes #21360; discarding empty seqs/arrays now raises errors (#21374)ringabout2023-02-161-0/+14
| | | | | * discarding empty seqs now raises errors * the same goes for sets
* enforce void for nkWhileStmt [backport: 2.0] (#21170)ringabout2022-12-241-0/+11
| | | enforce void for nkWhileStmt
* fixes #13583; enforce void for `nkWhileStmt` (#20947)ringabout2022-11-291-0/+34
| | | | | * fixes #13583; enfore void for nkWhileStmt * one more case
* improve the 'has to be discarded' error messageAraq2020-05-023-3/+3
|
* Hrm, the new errors highlighted some code that seems to be brokenZahary Karadjov2020-04-011-1/+1
| | | | | | New issue: since `Table[A, B]` allocates its backing storage with `newSeq[KeyValuePair[A, B]]`, it's no longer legal to create a table with `not nil` types used as either keys or values.
* revert discardable transformation (#10905)Andreas Rumpf2019-04-211-0/+20
| | | | | | | | | | * Revert "Properly wrap discarded statements (#10322)" This reverts commit 15584879b91e14565156ca140eef1dc100cf34c4. * add test for implicit discard after defer * enable t10241 again * make C++ tests green again
* fix off by 1 error in `col` shown by toFileLineCol (#10138)Timothee Cour2018-12-311-1/+1
| | | | | * fix off by 1 error in `col` shown by toFileLineCol * fix test failures
* lots of small changesArne Döring2018-12-111-0/+3
|
* require errormsg to be specified before file.Arne Döring2018-12-113-3/+3
|
* updated tests to be executedArne Döring2018-11-231-0/+7
|
* fix #9726 (#9765)Arne Döring2018-11-201-0/+8
|
* add illegal discard testArne Döring2018-11-081-0/+9
|
* fixes #9076Araq2018-09-261-0/+22
|
* make tests green againAndreas Rumpf2018-07-051-1/+1
|
* more chatty error message for the 'discard' checkingAndreas Rumpf2018-02-051-1/+1
|
* Remove expr/stmt (#5857)Arne Döring2017-07-251-1/+1
|
* compiler: better error messages (#5613)Andreas Rumpf2017-03-262-3/+3
|
* fixes #1528Araq2015-09-101-0/+12
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-042-4/+4
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* fixes #942Araq2014-03-051-0/+16
|
* made some tests green; htmlgen still brokenAraq2014-02-251-1/+1
|
* new tester; all tests categorizedAraq2014-01-132-0/+25
a144b90b7'>e25474154 ^
c06569459 ^
e25474154 ^

































5b28d0820 ^

e25474154 ^































5b28d0820 ^
e25474154 ^














a489161b1 ^

e25474154 ^




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