fixed seg fault for non record function calls

This commit is contained in:
Annie
2025-04-11 10:08:23 -04:00
parent 859ff3fd03
commit d7d7d22c72
3 changed files with 35 additions and 26 deletions

View File

@ -14,11 +14,11 @@ foo (x) := {
return x * x;
}
bar1 (a) := {
return a.x * a.y;
bar1 (x, y) := {
return x * y;
}
bar2 as (r,s) := {
bar2 (r,s) := {
return r * s;
}