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
+3 -3
View File
@@ -8,15 +8,15 @@ State :: enum(u16) {
initial State :: State.started
same :: func(left State, right State) bool {
same func(left State, right State) bool {
return left == right
}
identity :: c_func(value State) State {
identity c_func(value State) State {
return value
}
main :: func() i32 {
main func() i32 {
state State = identity(.running)
values [2]State :: [.started, State.stopped]
animal animals.Animal :: animals.Animal.dog