aboutsummaryrefslogtreecommitdiff
path: root/typecheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'typecheck.h')
-rw-r--r--typecheck.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/typecheck.h b/typecheck.h
index 1639e1e8..b3f1dd66 100644
--- a/typecheck.h
+++ b/typecheck.h
@@ -25,5 +25,6 @@ PUREFUNC bool can_be_mutated(env_t *env, ast_t *ast);
type_t *parse_type_string(env_t *env, const char *str);
type_t *get_method_type(env_t *env, ast_t *self, const char *name);
PUREFUNC bool is_constant(env_t *env, ast_t *ast);
+bool is_valid_call(env_t *env, arg_t *spec_args, arg_ast_t *call_args, bool promotion_allowed);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0