Commit 834ad9c
committed
fix: Correct type_or_const param index bound in debug_assert
local_id is used as an index into type/const params; valid indices are
0..len_type_or_consts(). The previous <= check incorrectly allowed idx == len.
Assisted by an AI coding tool (see CONTRIBUTING.md).1 parent 9253d39 commit 834ad9c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
0 commit comments