summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-02-24 10:00:55 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-02-24 10:00:55 -0500
commit055d5451bbad3ce530fa9f15b587ba8748fbf3de (patch)
tree48553146d4d4d184c85476508bad1130007e7b3c /main.c
parentb6576fdcea56c89480fdf492c5aab731fa68d0c4 (diff)
struct param inference
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 886599b..e0c3a11 100644
--- a/main.c
+++ b/main.c
@@ -18,8 +18,7 @@
/*
TODO:
-- make sure inference works with struct params
-- split up a,b::int for parameterized structs (?also maybe normal parameters?)
+- split up a,b::int for parameterized structs (?also maybe normal const parameters?)
- allow accessing parameters with .
- make call_arg_param_order work more like parameterized_struct_arg_order
@@ -89,7 +88,8 @@ int main(int argc, char **argv) {
#ifdef TOC_DEBUG
signal(SIGABRT, signal_handler);
signal(SIGSEGV, signal_handler);
-
+#endif
+#ifdef RUN_TESTS
test_all();
#endif