fixed: assignment storing pointer instead of value
This commit is contained in:
parent
942c9484ac
commit
d32b39e960
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue