Fix #soa assignment bug

This commit is contained in:
gingerBill
2024-07-03 00:33:13 +01:00
parent 7e6acdf800
commit 075384b2bb

View File

@@ -1011,7 +1011,7 @@ gb_internal void lb_emit_store(lbProcedure *p, lbValue ptr, lbValue value) {
return;
}
Type *a = type_deref(ptr.type);
Type *a = type_deref(ptr.type, true);
if (LLVMIsNull(value.value)) {
LLVMTypeRef src_t = llvm_addr_type(p->module, ptr);
if (is_type_proc(a)) {