zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit e5d032982e7a7b76e08341a0a3d9e287c6ef7c94 (tree)
parent 3879bebc37133ad4160b127a6f3331cf07fe3219
Author: Michael Dusan <michael.dusan@gmail.com>
Date:   Thu, 18 Jul 2019 13:38:11 -0400

closes #2916

Diffstat:
Msrc/ir.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ir.cpp b/src/ir.cpp @@ -14597,7 +14597,7 @@ static IrInstruction *ir_analyze_array_mult(IrAnalyze *ira, IrInstructionBinOp * for (uint64_t x = 0; x < mult_amt; x += 1) { for (uint64_t y = 0; y < old_array_len; y += 1) { copy_const_val(&out_val->data.x_array.data.s_none.elements[i], - &array_val->data.x_array.data.s_none.elements[y], true); + &array_val->data.x_array.data.s_none.elements[y], false); i += 1; } }