diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-07-03 16:09:10 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-07-03 16:09:10 -0400 |
commit | 119950ebde3c9f096d1866ba6448d6bd9b22d063 (patch) | |
tree | 35e6bb7a2507910ac784356baf25c2412b6959b6 /test.toc | |
parent | b25f392b221cea498ea7695f68828909734b51cd (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.toc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ -#include "tests/std/io.toc", io; +f(); -main ::= fn() { - io.puts("hi"); +f ::= fn( ) int { + return 3; } |