type inference for variables

This commit is contained in:
2026-05-13 14:01:44 +02:00
parent 5f2082ef57
commit 027245684d
37 changed files with 304 additions and 302 deletions

View File

@@ -3,7 +3,7 @@ func main[] : i64
io.println("Listening on port 8000...")
while true
let pkt: net.UDPPacket = net.udp_receive(s, 60000)
let pkt = net.udp_receive(s, 60000)
if pkt->size <= 0
net.UDPPacket.free(pkt)
continue