summary refs log tree commit diff stats
path: root/tests/stdlib/tsharedlist.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-06-26 06:21:46 -0700
committerGitHub <noreply@github.com>2021-06-26 15:21:46 +0200
commitb8f761b7e2cb3f28abd6486d28ea19228887cdf5 (patch)
treeb262e9fbcfedff95d730fec912e6927e64e46dc4 /tests/stdlib/tsharedlist.nim
parent39fbf3c84bd83613407e22b3de215d9a221b9422 (diff)
downloadNim-b8f761b7e2cb3f28abd6486d28ea19228887cdf5.tar.gz
even lighter version of #17938: fix most issues with UnusedImport, XDeclaredButNotUsed, etc; fix #17511, #17510, #14246 (without realModule) (#18362)
* {.used: symbol}

* add tests

* fix tests with --import

* --import works without giving spurious unused warnings

* new warning warnDuplicateModuleImport for `import foo; import foo`

* fix test, add resolveModuleAlias, use proper line info for module aliases

* fix spurious warnings

* fix deprecation msg for deprecated modules even with `import foo as bar`

* disable a test for i386 pending sorting XDeclaredButNotUsed errors

* UnusedImport now works with re-exported symbols

* fix typo [skip ci]

* ic support

* add genPNode to allow writing PNode-based compiler code similarly to `genAst`

* fix DuplicateModuleImport warning

* adjust test

* fixup

* fixup

* fixup

* fix after rebase

* fix for IC

* keep the proc inline, move the const out

* [skip ci] fix changelog

* experiment: remove calls to resolveModuleAlias

* followup

* fixup

* fix tests/modules/tselfimport.nim

* workaround tests/deprecated/tmodule1.nim

* fix properly

* simplify
Diffstat (limited to 'tests/stdlib/tsharedlist.nim')
0 files changed, 0 insertions, 0 deletions
104dce8c1279a007aa980fc'>fdd9bd0 ^
4695425 ^








fdd9bd0 ^

4fb7785 ^
fdd9bd0 ^
4fb7785 ^

4fb7785 ^

4fb7785 ^





42a3e8a ^
4fb7785 ^
fdd9bd0 ^
fdd9bd0 ^


fdd9bd0 ^

bb338d6 ^


bb338d6 ^



bb338d6 ^
78f4d8a ^
bb338d6 ^





bb338d6 ^
4648146 ^
78f4d8a ^
bb338d6 ^



bb338d6 ^


fdd9bd0 ^

4fb7785 ^








bb338d6 ^
4fb7785 ^






fdd9bd0 ^

4fb7785 ^
bb338d6 ^












bb338d6 ^




4fb7785 ^
bb338d6 ^
fdd9bd0 ^


4fb7785 ^
bb338d6 ^



a5a32e7 ^
42a3e8a ^












a5a32e7 ^
bb338d6 ^

a5a32e7 ^
bb338d6 ^

a5a32e7 ^
bb338d6 ^


bb338d6 ^
42a3e8a ^
bb338d6 ^
42a3e8a ^
bb338d6 ^
42a3e8a ^
bb338d6 ^
42a3e8a ^
bb338d6 ^

bb338d6 ^
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