summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 4fe435d..63efe85 100644
--- a/main.c
+++ b/main.c
@@ -10,9 +10,11 @@
TODO:
variadic fns
const varargs
+varargs only exist in decls. not a type of its own
don't allow default varargs
don't allow semiconst varargs
make sure you can't have a variadic function pointer
+make sure varargs works with inference
#foreign variadic fns
where
#returns_code (function/struct body is a block, to be evaluated at compile time, which returns the actual statements -- you can use this for implementation of printf)