| ... | ... | @@ -2531,7 +2531,8 @@ fn astgenAndSemaFn( |
| 2531 | 2531 | // `extra` so that we have access to the data in codegen, for debug info. |
| 2532 | 2532 | const str_index = @intCast(u32, wip_zir_code.string_bytes.items.len); |
| 2533 | 2533 | wip_zir_code.extra.appendAssumeCapacity(str_index); |
| 2534 | | try wip_zir_code.string_bytes.ensureCapacity(mod.gpa, param_name.len + 1); |
| 2534 | const used_bytes = wip_zir_code.string_bytes.items.len; |
| 2535 | try wip_zir_code.string_bytes.ensureCapacity(mod.gpa, used_bytes + param_name.len + 1); |
| 2535 | 2536 | wip_zir_code.string_bytes.appendSliceAssumeCapacity(param_name); |
| 2536 | 2537 | wip_zir_code.string_bytes.appendAssumeCapacity(0); |
| 2537 | 2538 | } |