diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-07-20 15:23:13 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-07-20 15:23:13 +0100 |
| commit | 2da18b6d3323454d2c820dac8d17875f8b48f914 (patch) | |
| tree | 961186fd9571dbca70ac1df04ee0a471b15a1808 /src/check_decl.cpp | |
| parent | 6d37ed12d2e9914bd308dbf2fd3dec166cc78af1 (diff) | |
Change internals from `Record` to `Struct`
Diffstat (limited to 'src/check_decl.cpp')
| -rw-r--r-- | src/check_decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_decl.cpp b/src/check_decl.cpp index 6e47a2554..dbe8aac61 100644 --- a/src/check_decl.cpp +++ b/src/check_decl.cpp @@ -698,7 +698,7 @@ void check_proc_body(Checker *c, Token token, DeclInfo *decl, Type *type, AstNod String name = e->token.string; Type *t = base_type(type_deref(e->type)); if (is_type_struct(t) || is_type_raw_union(t)) { - Scope *scope = scope_of_node(&c->info, t->Record.node); + Scope *scope = scope_of_node(&c->info, t->Struct.node); GB_ASSERT(scope != nullptr); for_array(i, scope->elements.entries) { Entity *f = scope->elements.entries[i].value; |