authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2023-08-15 11:41:21+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2023-08-15 11:42:25+01:00
log6e2eb208aac8bb6065992bd19a6c0cc772648263
tree98121b431a9e058254d4df92874a1bd9d89eb4a1
parentf7b82ed416e32a9164c67a35924b9b99e86707fa
signaturelock-open Commit is signed but in an unrecognized format.

Sema: queue type resolution whem emitting array_elem_val

This type not being resolved was a bug which was being triggered by the next commit.

1 files changed, 1 insertions(+), 0 deletions(-)

src/Sema.zig+1
......@@ -26872,6 +26872,7 @@ fn elemValArray(
2687226872
2687326873 const runtime_src = if (maybe_undef_array_val != null) elem_index_src else array_src;
2687426874 try sema.requireRuntimeBlock(block, src, runtime_src);
26875 try sema.queueFullTypeResolution(array_ty);
2687526876 if (oob_safety and block.wantSafety()) {
2687626877 // Runtime check is only needed if unable to comptime check
2687726878 if (maybe_index_val == null) {