mirror of
https://github.com/ziglang/zig.git
synced 2025-12-27 16:43:07 +00:00
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.
This commit is contained in:
parent
f7b82ed416
commit
6e2eb208aa
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user