diff options
Diffstat (limited to 'src/parseh.cpp')
| -rw-r--r-- | src/parseh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseh.cpp b/src/parseh.cpp index 5c641e4660..ca7d9e1cd8 100644 --- a/src/parseh.cpp +++ b/src/parseh.cpp @@ -1235,7 +1235,7 @@ static void process_symbol_macros(Context *c) { // variable is non-null and calls it. if (existing_tld->id == TldIdVar) { TldVar *tld_var = (TldVar *)existing_tld; - TypeTableEntry *var_type = tld_var->var->value.type; + TypeTableEntry *var_type = tld_var->var->value->type; if (var_type->id == TypeTableEntryIdMaybe && !tld_var->var->src_is_const) { TypeTableEntry *child_type = var_type->data.maybe.child_type; if (child_type->id == TypeTableEntryIdFn) { |
