Commit 6e2eb208aa

mlugg <mlugg@mlugg.co.uk>
2023-08-15 12:41:21
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 parent f7b82ed
Changed files (1)
src/Sema.zig
@@ -26872,6 +26872,7 @@ fn elemValArray(
 
     const runtime_src = if (maybe_undef_array_val != null) elem_index_src else array_src;
     try sema.requireRuntimeBlock(block, src, runtime_src);
+    try sema.queueFullTypeResolution(array_ty);
     if (oob_safety and block.wantSafety()) {
         // Runtime check is only needed if unable to comptime check
         if (maybe_index_val == null) {