1
0
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:
joe-conigliaro
2019-09-25 22:10:45 +10:00
committed by Alexander Medvednikov
parent 746655c1d5
commit 8974aa4513
12 changed files with 33 additions and 33 deletions

View File

@ -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)