This website requires JavaScript.
Explore
Help
Sign In
vieter-v
/
v
Watch
2
Star
0
Fork
You've already forked v
0
Code
Issues
Pull Requests
Releases
Activity
12ec3b9d53
v
/
vlib
/
v
/
tests
/
skip_unused
/
method_as_fn_pointer.vv
13 lines
99 B
V
Raw
Blame
History
struct
Foo
{
x
int
}
fn
(
f
Foo
)
hi
(
)
int
{
return
f
.
x
}
fn
main
(
)
{
f
:=
Foo
{
123
}
_
=
f
.
hi
}
Reference in New Issue
View Git Blame
Copy Permalink