gingerBill 3 years ago
parent
commit
c8c076f970
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/llvm_backend_expr.cpp

+ 1 - 1
src/llvm_backend_expr.cpp

@@ -3577,7 +3577,7 @@ void lb_build_addr_compound_lit_populate(lbProcedure *p, Slice<Ast *> const &ele
 			}
 			}
 
 
 		} else {
 		} else {
-			if (lb_is_elem_const(elem, et)) {
+			if (bt->kind != Type_DynamicArray && lb_is_elem_const(elem, et)) {
 				continue;
 				continue;
 			}
 			}