diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-06-21 17:47:55 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-06-21 17:47:55 -0400 |
commit | 692d13cc1a6fda2776d0ad0b34e9fbff0bc2c55c (patch) | |
tree | cf14f8fc4c531a08512050b5bd4f9b3d01b87ad8 /tests/varargs.toc | |
parent | a03de99b63cd76edd191de05d85147518842cafc (diff) |
everything now working with blocks not returning values
Diffstat (limited to 'tests/varargs.toc')
-rw-r--r-- | tests/varargs.toc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/varargs.toc b/tests/varargs.toc index 0885da4..ff315c6 100644 --- a/tests/varargs.toc +++ b/tests/varargs.toc @@ -9,7 +9,7 @@ sum ::= fn(x: ..) int { for a, i := x { total += a + i - i + 1; } - total - x.len + return total - x.len; }; sumc ::= fn(x:: ..) int { @@ -17,7 +17,7 @@ sumc ::= fn(x:: ..) int { for a, i := x { total += a + i - i + 1; } - total - x.len + return total - x.len; }; do_printing ::= fn(x::..) { |