Fixed the else jump It was falling through

This commit is contained in:
Meyer Simon
2025-05-02 12:02:07 -04:00
parent 60ffb33c58
commit b762127879
2 changed files with 17 additions and 9 deletions

View File

@ -13,14 +13,13 @@ bar (r,s) := {
entry (arg) := {
[ integer: result ; rec: w]
if ( result = result ) then {
result := result + 8;
if ( result < w.y ) then {
if ( result < w.y ) then {
result := 8;
} else {
result := 9;
}
}(* *)
} else {
result := bar('c', 7);
result := 1; (* bar('c', 7); *)
}
return 0;
}