rename none to null

This commit is contained in:
2026-07-21 22:59:51 +02:00
parent 1619ea98a3
commit 402871ef7a
44 changed files with 3771 additions and 3767 deletions
@@ -16,8 +16,8 @@ main func() i32 {
total = total + 99
}
# none -> else branch taken; the binding is not in scope there
b ?i32 = none
# null -> else branch taken; the binding is not in scope there
b ?i32 = null
if b |v| {
total = total + v
} else {
@@ -31,8 +31,8 @@ main func() i32 {
total = total + q^ # +0
}
# optional pointer none -> skipped
z ?@i32 = none
# optional pointer null -> skipped
z ?@i32 = null
if z |_| {
total = total + 1000
}