-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
unknown function: cli004.sub.greetingsΒ #26828
Copy link
Copy link
Open
Description
With the most updated build (v up) as of today,below code failed to compile.
Was I just simply missing something?
error message:
E:\Learning\vlangpack\ex\cli004>v crun .
cli004.v:6:6: error: unknown function: cli004.sub.greetings
4 |
5 | fn main(){
6 | sub.greetings()
| ~~~~~~~~~~~
7 | }
project tree:cli004/cli004.v,cli004/sub/hey.v
cli004
|_cli004.v
|_sub__
|__hey.v
cli004.v:
module main
import sub
fn main(){
sub.greetings()
}
hey.v
module sub
pub fn greetings(){
println('greetings from sub')
}
Note
You can use the π reaction to increase the issue's priority for developers.
Please note that only the π reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels