no :: in func decls

This commit is contained in:
2026-06-30 19:31:26 +02:00
parent ae5af37b85
commit 07c560b750
107 changed files with 580 additions and 520 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
# Milestone 5: boolean while loops with optional post-iteration updates.
return_before_update :: func() i32 {
return_before_update func() i32 {
i i32 = 0
while true : i = i + 1 {
return i
}
}
main :: func() i32 {
main func() i32 {
total i32 = 0
# ordinary condition and update