c argument names in bindings

This commit is contained in:
2026-06-25 08:28:30 +02:00
parent 9d1130b359
commit c08bc6d0cc
9 changed files with 84 additions and 19 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ main :: func() i32 {
_ = printf("%d: %s projected=%d\n", index, player.name, score)
}
if best_player(players[..]) |winner : projected_score(winner^) >= 80| {
if best_player(&players) |winner : projected_score(winner^) >= 80| {
_ = printf("winner: %s\n", winner.name)
return 0
}