| author | |
| committer | |
| log | 7d9cf156c381743ef7ede8a35c4a9c46e6033dd7 |
| tree | 27eddcd013a45248f755c5ea2f303304a8591e13 |
| parent | dca17d3603e5b68a8f683bfc1bdabc9959654d26 |
1 files changed, 1 insertions(+), 1 deletions(-)
src/TypedValue.zig+1-1| ... | ... | @@ -437,7 +437,7 @@ fn printAggregate( |
| 437 | 437 | if (i != 0) try writer.writeAll(", "); |
| 438 | 438 | |
| 439 | 439 | const field_name = switch (ip.indexToKey(ty.toIntern())) { |
| 440 | .struct_type => |x| x.field_names.get(ip)[i].toOptional(), | |
| 440 | .struct_type => |x| x.fieldName(ip, i), | |
| 441 | 441 | .anon_struct_type => |x| if (x.isTuple()) .none else x.names.get(ip)[i].toOptional(), |
| 442 | 442 | else => unreachable, |
| 443 | 443 | }; |