| ... | ... | @@ -7569,13 +7569,14 @@ fn instantiateGenericCall( |
| 7569 | 7569 | { |
| 7570 | 7570 | var runtime_i: u32 = 0; |
| 7571 | 7571 | for (uncasted_args, 0..) |uncasted_arg, total_i| { |
| 7572 | // In the case of a function call generated by the language, the LazySrcLoc |
| 7573 | // provided for `call_src` may not point to anything interesting. |
| 7572 | 7574 | const arg_src: LazySrcLoc = if (total_i == 0 and bound_arg_src != null) |
| 7573 | 7575 | bound_arg_src.? |
| 7574 | | else |
| 7575 | | .{ .call_arg = .{ |
| 7576 | | .call_node_offset = call_src.node_offset.x, |
| 7577 | | .arg_index = @intCast(total_i), |
| 7578 | | } }; |
| 7576 | else if (call_src == .node_offset) .{ .call_arg = .{ |
| 7577 | .call_node_offset = call_src.node_offset.x, |
| 7578 | .arg_index = @intCast(total_i), |
| 7579 | } } else .unneeded; |
| 7579 | 7580 | |
| 7580 | 7581 | const comptime_arg = callee.comptime_args.get(ip)[total_i]; |
| 7581 | 7582 | if (comptime_arg == .none) { |