Fixed inconsistent lifetimes
This commit is contained in:
parent
efecfc3b7c
commit
6fef3bccf6
10 changed files with 41 additions and 37 deletions
|
@ -17,4 +17,12 @@ main() {
|
|||
assert i >= 0
|
||||
assert i < 10
|
||||
}
|
||||
|
||||
ten := 10
|
||||
|
||||
for 0..ten {
|
||||
total += 1
|
||||
}
|
||||
|
||||
assert total == ten
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue