diff options
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 97bd33c88..10bfa1233 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -4609,7 +4609,7 @@ bool check_builtin_procedure(Checker *c, Operand *operand, AstNode *call, i32 id tuple->Tuple.variable_count = variable_count; // TODO(bill): Should I copy each of the entities or is this good enough? - gb_memcopy_array(tuple->Tuple.variables, type->Record.fields, variable_count); + gb_memcopy_array(tuple->Tuple.variables, type->Record.fields_in_src_order, variable_count); operand->type = tuple; operand->mode = Addressing_Value; |