summary refs log tree commit diff stats
path: root/tests/concepts
Commit message (Collapse)AuthorAgeFilesLines
* megatest checks output and nimoutArne Döring2018-12-111-1/+3
|
* megatest can be executedArne Döring2018-12-111-0/+0
|
* require errormsg to be specified before file.Arne Döring2018-12-112-17/+15
|
* cleanup tests; don't use non-working 'msg' spec fieldAraq2018-11-234-4/+3
|
* More descriptive names of test files (#9531)Miran2018-10-291-0/+0
| | | | | * change generic `tissues` name to more specific * change `tvarious` to more specific names
* make tests green againAndreas Rumpf2018-10-241-0/+1
|
* 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
* correctly render AST in doAssert/assert condition: fixes #8518; refs #9301 ↵Timothee Cour2018-10-141-37/+52
| | | | | | (#9332) * fixes #8518; refs #9301; correctly render AST in doAssert condition
* put several issues in tests (#9352)Miran2018-10-131-11/+57
| | | | | | * put several issues in tests * remove wrong test
* Merge tests into a larger file (part 1 of ∞) (#9318)Miran2018-10-1216-428/+862
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * merge actiontable tests * merge arithm tests * merge array tests * merge assign tests * merge bind tests * merge casestmt tests * merge closure tests * merge cnt seq tests * merge collections tests * merge concept issues tests * merge concept tests * fix failing tests * smaller outputs Use `doAssert` where possible. * fix wrong output * split `tcomputedgoto` * revert merging concepts * fix failing test
* compiler: show name of instantiating context in error traces (#6763) (#9207)xzfc2018-10-111-2/+2
|
* closes #5868Araq2018-10-031-0/+19
|
* fixes #7092Araq2018-10-021-2/+12
|
* closes #6249Araq2018-10-021-0/+22
|
* Fix #8126 (#8712)zah2018-08-211-0/+12
| | | | | | This is a temporary fix that will be reworked in a follow up commit that aims to eliminate the tfExplicit flag from the compiler. The complete and proper fix was considered too risky for inclusion just before our 0.19 release.
* fixes #6255, add `system.ashr` arithmetic right shift (#8547)andri lim2018-08-071-6/+6
|
* Correctly hash inferred types (#8286)LemonBoy2018-07-121-0/+16
| | | | | | | We don't really want to hash the tyInferred container since that'd make the "real" type and its inferred counterpart produce different hashes and types for the very same type. Fixes #8280
* make concepts tests green againAndreas Rumpf2018-07-062-12/+12
|
* Fix constant folding of len() with concept type (#8143)LemonBoy2018-06-301-0/+12
| | | Fixes #7952
* Don't consider concept types as non-complex during codegen (#8119)LemonBoy2018-06-271-1/+14
| | | Fixes #7125
* Merge branch 'devel' into typedesc-reformsAndreas Rumpf2018-06-261-0/+31
|\
| * More concept fixesLemonBoy2018-06-241-0/+31
| | | | | | | | Fixes #7705, #7703, #7702
* | fixes #7222; fixes #5595; fixes #3747Zahary Karadjov2018-06-163-0/+45
|/ | | | | | | | | | * late instantiation for the generic procs' default param values * automatic mixin behaviour in concepts Other fixes: * don't render the automatically inserted default params in calls * better rendering of tyFromExpr
* Correct field lookup in concept typesLemonBoy2018-06-121-0/+27
| | | | Fixes #6770
* make more tests greenAraq2018-04-301-1/+1
|
* Static[T] fixes (#7333)zah2018-03-241-0/+19
| | | | | | | | | | | * fix the usage of unresolved static[T] parameters in proc signatures * fix tsametype and tmacrogenerics * Allow creating composite type classes with concepts and using them in type signatures * Allow integers to be used in ident concatenations * Support using imported C++ generic types in proc signatures * fixes #7230 * closes #7379 * re-enable some metatype tests
* better error messages: use <T1, T2> instead of (T1, T2) in order to prevent ↵Araq2018-02-103-29/+29
| | | | confusions with tuple types
* improve the error messages regarding type mismatches in overloading resolutionAndreas Rumpf2018-02-041-7/+30
|
* make tests green againAraq2018-01-151-1/+1
|
* fix #6462Zahary Karadjov2017-12-211-0/+23
|
* fix #6277Zahary Karadjov2017-12-211-0/+20
|
* fix #6108Zahary Karadjov2017-12-211-0/+13
|
* Improved collection-to-string behavior (#6825)Fabian Keller2017-12-141-1/+1
|
* make tests green againAraq2017-12-011-40/+44
|
* make tests green againAndreas Rumpf2017-11-211-3/+3
|
* language change: 'generic' and 'atomic' are not keywords anymoreAndreas Rumpf2017-11-211-2/+2
|
* concepts: fixes the stack overflow that happens for #6691Andreas Rumpf2017-11-051-0/+13
|
* make tests green againAndreas Rumpf2017-10-161-1/+1
|
* make tests green againAndreas Rumpf2017-09-301-1/+1
|
* make tests green againAndreas Rumpf2017-08-311-4/+4
|
* treat var modifiers inside the concept body correctly: #1033Zahary Karadjov2017-08-191-0/+30
|
* Remove expr/stmt (#5857)Arne Döring2017-07-253-8/+5
|
* Fix #5084Zahary Karadjov2017-06-201-0/+61
|
* Fix #5983Zahary Karadjov2017-06-201-0/+22
|
* Fix #5888Zahary Karadjov2017-06-203-0/+36
|
* Fix #5127Zahary Karadjov2017-06-203-26/+53
|
* Fix #4020; Better handling of templates within conceptsZahary Karadjov2017-06-201-0/+56
|
* fix #5968Zahary Karadjov2017-06-201-0/+20
|
* introduce a pre-processing pass for the concept bodiesZahary Karadjov2017-06-202-0/+40
| | | | | | | fixes #4982 fixes #3805 close #3414
* more sophisticated test for the previous commitZahary Karadjov2017-04-161-2/+22
|
0c4f6d40b988d700'>8a34fa5 ^
9e8b325 ^
dc5d967 ^
9e8b325 ^
8a34fa5 ^



8a34fa5 ^
c0705ee ^
8a34fa5 ^

d7e1708 ^
8a34fa5 ^
8a8b795 ^
8a34fa5 ^
9e8b325 ^


8a34fa5 ^



9e8b325 ^


8a34fa5 ^

9e8b325 ^
8a34fa5 ^


8a34fa5 ^
9e8b325 ^







8a34fa5 ^



9e8b325 ^






dba2306 ^
9e8b325 ^

8a34fa5 ^
9e8b325 ^
8a34fa5 ^
adaa28a ^

adaa28a ^



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