diff options
| author | gingerBill <bill@gingerbill.org> | 2022-08-19 16:57:36 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-08-19 16:57:36 +0100 |
| commit | c8c076f970448ff25a3489fdaeb91c742bead8f8 (patch) | |
| tree | a67ea953de2b27bff27af139861e39a057980d40 /src | |
| parent | afec321db2ba30581d04e369d1864140ccfd20a6 (diff) | |
Fix #1963
Diffstat (limited to 'src')
| -rw-r--r-- | src/llvm_backend_expr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_expr.cpp b/src/llvm_backend_expr.cpp index 5fd2fbe6f..3b2e6c29f 100644 --- a/src/llvm_backend_expr.cpp +++ b/src/llvm_backend_expr.cpp @@ -3577,7 +3577,7 @@ void lb_build_addr_compound_lit_populate(lbProcedure *p, Slice<Ast *> const &ele } } else { - if (lb_is_elem_const(elem, et)) { + if (bt->kind != Type_DynamicArray && lb_is_elem_const(elem, et)) { continue; } |