We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V version: V 0.3.1 1b72125 OS: linux, Ubuntu 22.04.1 LTS (VM)
What did you do? Executed the following code: bug.v (missing import m2)
bug.v
import m2
import m1 m1.f(m2.Struct{})
m1/m1.v
module m1 import m2 pub fn f(s m2.Struct) {}
m2/m2.v
module m2 pub struct Struct {}
What did you expect to see? A bug.v error message: error: unknown module 'm2'
error: unknown module 'm2'
What did you see instead?
$ v run bug.v bug.v:2:15: error: unexpected token `{`, expecting `,` 1 | import m1 2 | m1.f(m2.Struct{}) | ^
The text was updated successfully, but these errors were encountered:
No branches or pull requests
V version: V 0.3.1 1b72125
OS: linux, Ubuntu 22.04.1 LTS (VM)
What did you do? Executed the following code:
bug.v
(missingimport m2
)m1/m1.v
m2/m2.v
What did you expect to see?
A
bug.v
error message:error: unknown module 'm2'
What did you see instead?
The text was updated successfully, but these errors were encountered: