diff options
| author | gingerBill <bill@gingerbill.org> | 2022-12-22 11:53:13 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-12-22 11:53:13 +0000 |
| commit | e98f1a28e68e82753728f58b3465793192b74f9d (patch) | |
| tree | 529e4dde0e4854d414233c5756efb3892dcb8b28 /src/check_type.cpp | |
| parent | b9a2426e577e15ae861ce73b7c5a86a0df496e65 (diff) | |
Change `tav` to be a pointer internally
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index 4634e1fbe..3d4bab3e2 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -2569,8 +2569,8 @@ gb_internal bool check_type_internal(CheckerContext *ctx, Ast *e, Type **type, T case_end; case_ast_node(tt, TypeidType, e); - e->tav.mode = Addressing_Type; - e->tav.type = t_typeid; + e->tav().mode = Addressing_Type; + e->tav().type = t_typeid; *type = t_typeid; set_base_type(named_type, *type); return true; |