v2 / vlib / v / checker / tests / fn_param_import_sym_conflict.out
122 lines · 122 sloc · 3.81 KB · 3d60410b605d001e54f280070d5f952da9de1112
Raw
1vlib/v/checker/tests/fn_param_import_sym_conflict.vv:1:8: warning: module 'arrays' is imported but never used. Use `import arrays as _`, to silence this warning, or just remove the unused import line
2 1 | import arrays
3 | ~~~~~~
4 2 | import maps
5 3 | import strings as strs
6vlib/v/checker/tests/fn_param_import_sym_conflict.vv:2:8: warning: module 'maps' is imported but never used. Use `import maps as _`, to silence this warning, or just remove the unused import line
7 1 | import arrays
8 2 | import maps
9 | ~~~~
10 3 | import strings as strs
11 4 |
12vlib/v/checker/tests/fn_param_import_sym_conflict.vv:3:8: warning: module 'strs (strings)' is imported but never used. Use `import strs (strings) as _`, to silence this warning, or just remove the unused import line
13 1 | import arrays
14 2 | import maps
15 3 | import strings as strs
16 | ~~~~~~~
17 4 |
18 5 | // FnDecl
19vlib/v/checker/tests/fn_param_import_sym_conflict.vv:6:6: notice: unused parameter: `arrays`
20 4 |
21 5 | // FnDecl
22 6 | fn x(arrays []int) {
23 | ~~~~~~
24 7 | }
25 8 |
26vlib/v/checker/tests/fn_param_import_sym_conflict.vv:12:9: notice: unused parameter: `arrays`
27 10 | }
28 11 |
29 12 | fn maps(arrays []int) {
30 | ~~~~~~
31 13 | }
32 14 |
33vlib/v/checker/tests/fn_param_import_sym_conflict.vv:27:19: notice: unused parameter: `maps`
34 25 | }
35 26 |
36 27 | fn (arrays Foo) y(maps []int) {
37 | ~~~~
38 28 | }
39 29 |
40vlib/v/checker/tests/fn_param_import_sym_conflict.vv:30:16: notice: unused parameter: `arrays`
41 28 | }
42 29 |
43 30 | fn (foo Foo) z(arrays []int) {
44 | ~~~~~~
45 31 | }
46 32 |
47vlib/v/checker/tests/fn_param_import_sym_conflict.vv:6:6: error: duplicate of an import symbol `arrays`
48 4 |
49 5 | // FnDecl
50 6 | fn x(arrays []int) {
51 | ~~~~~~
52 7 | }
53 8 |
54vlib/v/checker/tests/fn_param_import_sym_conflict.vv:9:1: error: duplicate of an import symbol `maps`
55 7 | }
56 8 |
57 9 | fn maps() {
58 | ~~~~~~~~~
59 10 | }
60 11 |
61vlib/v/checker/tests/fn_param_import_sym_conflict.vv:12:9: error: duplicate of an import symbol `arrays`
62 10 | }
63 11 |
64 12 | fn maps(arrays []int) {
65 | ~~~~~~
66 13 | }
67 14 |
68vlib/v/checker/tests/fn_param_import_sym_conflict.vv:12:1: error: duplicate of an import symbol `maps`
69 10 | }
70 11 |
71 12 | fn maps(arrays []int) {
72 | ~~~~~~~~~~~~~~~~~~~~~
73 13 | }
74 14 |
75vlib/v/checker/tests/fn_param_import_sym_conflict.vv:18:1: error: duplicate of an import symbol `strs`
76 16 | }
77 17 |
78 18 | fn strs() {
79 | ~~~~~~~~~
80 19 | }
81 20 |
82vlib/v/checker/tests/fn_param_import_sym_conflict.vv:24:5: error: duplicate of an import symbol `arrays`
83 22 | struct Foo {}
84 23 |
85 24 | fn (arrays Foo) x() {
86 | ~~~~~~
87 25 | }
88 26 |
89vlib/v/checker/tests/fn_param_import_sym_conflict.vv:27:5: error: duplicate of an import symbol `arrays`
90 25 | }
91 26 |
92 27 | fn (arrays Foo) y(maps []int) {
93 | ~~~~~~
94 28 | }
95 29 |
96vlib/v/checker/tests/fn_param_import_sym_conflict.vv:27:19: error: duplicate of an import symbol `maps`
97 25 | }
98 26 |
99 27 | fn (arrays Foo) y(maps []int) {
100 | ~~~~
101 28 | }
102 29 |
103vlib/v/checker/tests/fn_param_import_sym_conflict.vv:30:16: error: duplicate of an import symbol `arrays`
104 28 | }
105 29 |
106 30 | fn (foo Foo) z(arrays []int) {
107 | ~~~~~~
108 31 | }
109 32 |
110vlib/v/checker/tests/fn_param_import_sym_conflict.vv:33:5: error: duplicate of an import symbol `arrays`
111 31 | }
112 32 |
113 33 | fn (arrays Foo) maps() {
114 | ~~~~~~
115 34 | }
116 35 |
117vlib/v/checker/tests/fn_param_import_sym_conflict.vv:47:11: error: duplicate of an import symbol `arrays`
118 45 | // AnonFn
119 46 | fn y() {
120 47 | _ := fn (arrays []int) {}
121 | ~~~~~~
122 48 | }
123