v2 / vlib / v / checker / tests / decompose_interface_err.out
20 lines · 20 sloc · 813 bytes · e3d328a92b0f592bb2c9d46ab5ae77a69ea03105
Raw
1vlib/v/checker/tests/decompose_interface_err.vv:3: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 | module main
3 2 |
4 3 | import arrays
5 | ~~~~~~
6 4 |
7 5 | interface Value {}
8vlib/v/checker/tests/decompose_interface_err.vv:17:2: warning: unused variable: `region_id`
9 15 | 'AF',
10 16 | ]
11 17 | region_id := 'something'
12 | ~~~~~~~~~
13 18 | some_function(...country_ids)
14 19 | }
15vlib/v/checker/tests/decompose_interface_err.vv:18:16: error: cannot use `string` as `Value` in argument 1 to `some_function`
16 16 | ]
17 17 | region_id := 'something'
18 18 | some_function(...country_ids)
19 | ~~~~~~~~~~~~~~
20 19 | }
21