All leaks plugged for the time being

This commit is contained in:
2022-09-03 19:16:13 +10:00
parent c039045c14
commit 32d6b7124c
2 changed files with 28 additions and 12 deletions

View File

@@ -1,12 +1,8 @@
fn capture(count: int) {
print count;
print capture;
if (count > 5) {
return count;
}
return capture(count + 1);
fn panic() {
assert false, "This should only be seen once";
}
print capture(0);
panic();
panic();