diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 13:22:22 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 13:22:22 -0400 |
| commit | 3b4a0e8b907bce9d5682b64ef02dfbf430762f5b (patch) | |
| tree | 93eca6cc83c624abbe2ed56c65df1dd524ad6a3a /src/ast.h | |
| parent | 0a54b8965319545741c427086d8994f77a72089f (diff) | |
Improve support for inferring the specific type of the `self` value in a
method call.
Diffstat (limited to 'src/ast.h')
| -rw-r--r-- | src/ast.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -150,6 +150,7 @@ typedef enum { InlineCCode, Deserialize, Extend, + ExplicitlyTyped, } ast_e; struct ast_s { @@ -338,6 +339,10 @@ struct ast_s { const char *name; ast_t *body; } Extend; + struct { + ast_t *ast; + struct type_s *type; + } ExplicitlyTyped; } __data; }; |
