diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-29 13:49:24 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-29 13:49:24 -0500 |
| commit | 4dc70c84d4226174d44f1b53599d08de7a4e83aa (patch) | |
| tree | b0a612f4a3b61331caa59874fac417142c208d89 /typecheck.h | |
| parent | 8171a38b7130849e3049a4ea15a4fd06c154d9b0 (diff) | |
First working method calls
Diffstat (limited to 'typecheck.h')
| -rw-r--r-- | typecheck.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/typecheck.h b/typecheck.h index 4df9a8a0..c99d4fbf 100644 --- a/typecheck.h +++ b/typecheck.h @@ -19,5 +19,6 @@ type_t *get_arg_type(env_t *env, arg_t *arg); type_t *get_arg_ast_type(env_t *env, arg_ast_t *arg); 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); // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
