v4 / vlib / v / checker / tests / import_mod_duplicate_err.out
19 lines · 19 sloc · 655 bytes · 1512486d01d4205e7b67ebd679238fa45cd348af
Raw
1vlib/v/checker/tests/import_mod_duplicate_err.vv:3:8: error: cannot import `json` into a module with the same name
2 1 | module json
3 2 |
4 3 | import json
5 | ~~~~
6 4 |
7 5 | const used = true
8vlib/v/checker/tests/import_mod_duplicate_err.vv:3:8: error: cannot import `json` as `json` into a module with the same name
9 1 | module json
10 2 |
11 3 | import json
12 | ~~~~
13 4 |
14 5 | const used = true
15vlib/v/checker/tests/import_mod_duplicate_err.vv:1:1: error: project must include a `main` module or be a shared library (compile with `v -shared`)
16 1 | module json
17 | ^
18 2 |
19 3 | import json
20