vxx2 / vlib / v / checker / tests / import_mod_sub_duplicate_err.out
19 lines · 19 sloc · 719 bytes · 1512486d01d4205e7b67ebd679238fa45cd348af
Raw
1vlib/v/checker/tests/import_mod_sub_duplicate_err.vv:3:8: error: cannot import `x.json2` into a module with the same name
2 1 | module json2
3 2 |
4 3 | import x.json2
5 | ~~~~~~~
6 4 |
7 5 | println(json2.Any(json2.null))
8vlib/v/checker/tests/import_mod_sub_duplicate_err.vv:3:10: error: cannot import `x.json2` as `json2` into a module with the same name
9 1 | module json2
10 2 |
11 3 | import x.json2
12 | ~~~~~
13 4 |
14 5 | println(json2.Any(json2.null))
15vlib/v/checker/tests/import_mod_sub_duplicate_err.vv:1:1: error: project must include a `main` module or be a shared library (compile with `v -shared`)
16 1 | module json2
17 | ^
18 2 |
19 3 | import x.json2
20