Fixed inconsistent lifetimes

This commit is contained in:
2025-02-28 19:37:06 +01:00
parent a5a8f0f503
commit be6eafddf5
10 changed files with 41 additions and 37 deletions

View File

@ -17,4 +17,12 @@ main() {
assert i >= 0
assert i < 10
}
ten := 10
for 0..ten {
total += 1
}
assert total == ten
}