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
+1 -1
View File
@@ -4,7 +4,7 @@ native :: import "../include/native.h"
# the importer must not recurse forever populating it, and the checker must accept the
# self-referential `?*mut Node` field as C-layout-compatible.
main :: func() i32 {
main func() i32 {
node native.Node = native.Node { next = none, value = 7 }
if node.next |_| {
return 1