fixed: assignment storing pointer instead of value

This commit is contained in:
Sven Vogel 2024-07-16 21:25:59 +02:00
parent 942c9484ac
commit d32b39e960
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ BackendError impl_assign_stmt(
DEBUG("implementing assignment for variable: %p", assignment);
LLVMValueRef llvm_value = NULL;
err = impl_expr(unit, scope, builder, assignment->value, TRUE, &llvm_value);
err = impl_expr(unit, scope, builder, assignment->value, false, &llvm_value);
if (err.kind != Success) {
return err;
}