| ... | @@ -26872,6 +26872,7 @@ fn elemValArray( | ... | @@ -26872,6 +26872,7 @@ fn elemValArray( |
| 26872 | | 26872 | |
| 26873 | const runtime_src = if (maybe_undef_array_val != null) elem_index_src else array_src; | 26873 | const runtime_src = if (maybe_undef_array_val != null) elem_index_src else array_src; |
| 26874 | try sema.requireRuntimeBlock(block, src, runtime_src); | 26874 | try sema.requireRuntimeBlock(block, src, runtime_src); |
| | 26875 | try sema.queueFullTypeResolution(array_ty); |
| 26875 | if (oob_safety and block.wantSafety()) { | 26876 | if (oob_safety and block.wantSafety()) { |
| 26876 | // Runtime check is only needed if unable to comptime check | 26877 | // Runtime check is only needed if unable to comptime check |
| 26877 | if (maybe_index_val == null) { | 26878 | if (maybe_index_val == null) { |