mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler/vlib: change _ :=
to _ =
and disable _ :=
This commit is contained in:

committed by
Alexander Medvednikov

parent
746655c1d5
commit
8974aa4513
@ -4,7 +4,7 @@ fn start_socket_udp_server() {
|
||||
bufsize := 1024
|
||||
bytes := [1024]byte
|
||||
s := net.socket_udp() or { panic(err) }
|
||||
_ := s.bind( 9876 ) or { panic(err) }
|
||||
_ = s.bind( 9876 ) or { panic(err) }
|
||||
println('Waiting for udp packets:')
|
||||
for {
|
||||
res := s.crecv(bytes, bufsize)
|
||||
|
Reference in New Issue
Block a user