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
76c67952e6
v
/
vlib
/
v
/
checker
/
tests
/
lock_already_locked.vv
17 lines
121 B
V
Raw
Blame
History
struct
St
{
mut
:
x
int
}
fn
main
(
)
{
shared
a
:=
&
St
{
x
:
5
}
lock
a
{
rlock
a
{
a
.
x
++
}
}
println
(
a
.
x
)
}
Reference in New Issue
View Git Blame
Copy Permalink