summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-09-19 14:40:38 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-09-19 14:40:38 -0400
commita3ff9a3526dbc9ed785017835352d83edae8c8ac (patch)
tree1ea5118e1db1d23aab9bd1256dc5b6fd8fc913bb /test.toc
parentfb3e9b6da2aaf0d6cf1f31ab26419c3d83ed61e8 (diff)
don't type expr twice and direct arg type checking
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.toc b/test.toc
index 01ee66d..115f97b 100644
--- a/test.toc
+++ b/test.toc
@@ -9,5 +9,5 @@ times2 @= fn(x: int) int { x + x };
main @= fn() {
print_int(times2(5));
foo := fn (x, y, z,w : f32, A:f64) {};
- foo(foo,4,5,3,5);
+ foo(3,4,5,3,5);
};