| ... | ... | @@ -17627,7 +17627,7 @@ fn zirTypeInfo(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!Ai |
| 17627 | 17627 | const name = if (struct_type.fieldName(ip, i).unwrap()) |name_nts| |
| 17628 | 17628 | try sema.arena.dupe(u8, ip.stringToSlice(name_nts)) |
| 17629 | 17629 | else |
| 17630 | | try std.fmt.allocPrintZ(gpa, "{d}", .{i}); |
| 17630 | try std.fmt.allocPrintZ(sema.arena, "{d}", .{i}); |
| 17631 | 17631 | const field_ty = struct_type.field_types.get(ip)[i].toType(); |
| 17632 | 17632 | const field_init = struct_type.fieldInit(ip, i); |
| 17633 | 17633 | const field_is_comptime = struct_type.fieldIsComptime(ip, i); |