Fixed jumps in functions issue

This commit is contained in:
2022-09-03 07:57:25 +01:00
parent d2aacea8c5
commit 4ad33a3082
7 changed files with 183 additions and 45 deletions

View File

@@ -1,8 +1,19 @@
fn capture(count: int) {
print count;
print capture;
if (count < 5) {
return count;
}
print count;
print capture;
fn foo() {
//
count++;
count++;
// return capture(count + 1);
return -1;
}
foo();
print capture(52);