add casts to examples

This commit is contained in:
2026-03-17 16:34:20 +01:00
parent 15a68a41d1
commit 664a51c88d
6 changed files with 24 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
func main[] : i64
let s: i64 = must(net.udp_listen?(net.pack_addr(127, 0, 0, 1), 8000))
let s: net.UDPSocket = must(net.udp_listen?(net.pack_addr(127, 0, 0, 1), 8000))
io.println("Listening on port 8000...")
while true