vxx2 / vlib / v / checker / tests / incorrect_name_module.out
20 lines · 20 sloc · 831 bytes · e3d328a92b0f592bb2c9d46ab5ae77a69ea03105
Raw
1vlib/v/checker/tests/incorrect_name_module.vv:4:8: warning: module 'os' is imported but never used. Use `import os as _`, to silence this warning, or just remove the unused import line
2 2 |
3 3 | import math as _
4 4 | import os
5 | ~~
6vlib/v/checker/tests/incorrect_name_module.vv:1:1: error: module name `_A` cannot start with `_`
7 1 | module _A
8 | ~~~~~~~~~
9 2 |
10 3 | import math as _
11vlib/v/checker/tests/incorrect_name_module.vv:1:1: error: module name `_A` cannot contain uppercase letters, use snake_case instead
12 1 | module _A
13 | ~~~~~~~~~
14 2 |
15 3 | import math as _
16vlib/v/checker/tests/incorrect_name_module.vv:1:1: error: project must include a `main` module or be a shared library (compile with `v -shared`)
17 1 | module _A
18 | ^
19 2 |
20 3 | import math as _
21