From 8617b3bdd084cf45f4351f96e154f7ec76e0b266 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Wed, 11 Mar 2020 13:46:17 -0400 Subject: error message for default varargs --- test.toc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test.toc') diff --git a/test.toc b/test.toc index 458e67b..da2dd79 100644 --- a/test.toc +++ b/test.toc @@ -1,6 +1,6 @@ #include "std/io.toc"; -f ::= fn(x :: ..) int { +f ::= fn(x : ..) int { total := 0; for _, i := x { total += i * (x[0] as int); -- cgit v1.2.3