You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: linux, Ubuntu 22.04 LTS
Processor: 12 cpus, 64bit, little endian, Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
CC version: cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
V full version: V 0.3.0 0133ff2
What did you do?
I create a test on a module, so I need 3 files:
main.v, main file
modulemainimportcustomfnmain() {}
custom/custom.v , in module custom, the main module file
What did you expect to see?
A message explaining there is an error in the file name.
In this situation, the error message is not right, The project contains already a main module. And the message about "v -shared" is confusing.
What did you see instead?
test/redis/bugbug.v/custom/test_custom.v:1:1: error: project must include a `main` module or be a shared library (compile with `v -shared`)
1 | module custom
| ^
2 |
3 | fn test_result() {
The text was updated successfully, but these errors were encountered:
V doctor:
What did you do?
I create a test on a module, so I need 3 files:
main.v, main file
custom/custom.v , in module custom, the main module file
custom/test_custom.v, in module custom
Then test the file:
What did you expect to see?
A message explaining there is an error in the file name.
In this situation, the error message is not right, The project contains already a main module. And the message about "v -shared" is confusing.
What did you see instead?
The text was updated successfully, but these errors were encountered: