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
d24dce8eb3
v
/
vlib
/
v
/
checker
/
tests
/
struct_pub_field.vv
11 lines
67 B
V
Raw
Normal View
History
Unescape
Escape
parser: do not allow 1 char struct names
2020-05-27 16:00:00 +02:00
struct
Foo
{
checker: check array and fields mutability
2020-04-27 22:53:26 +02:00
i
int
}
fn
main
(
)
{
parser: do not allow 1 char struct names
2020-05-27 16:00:00 +02:00
a
:=
Foo
{
checker: check array and fields mutability
2020-04-27 22:53:26 +02:00
i
:
1
}
a
.
i
=
2
}