summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-07-03 16:09:10 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-07-03 16:09:10 -0400
commit119950ebde3c9f096d1866ba6448d6bd9b22d063 (patch)
tree35e6bb7a2507910ac784356baf25c2412b6959b6 /test.toc
parentb25f392b221cea498ea7695f68828909734b51cd (diff)
removed ability to evaluate a function before it is declared at compile time; that was causing too many problems
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test.toc b/test.toc
index 43ccf56..d79f526 100644
--- a/test.toc
+++ b/test.toc
@@ -1,5 +1,5 @@
-#include "tests/std/io.toc", io;
+f();
-main ::= fn() {
- io.puts("hi");
+f ::= fn( ) int {
+ return 3;
}