| 1 | vlib/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 | | ~~ |
| 6 | vlib/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 _ |
| 11 | vlib/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 _ |
| 16 | vlib/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 | |