Update record attribute formatting

This commit is contained in:
ktkk 2026-07-16 08:19:34 +00:00
parent 39fcd51a7c
commit 10c8c9b98f
2 changed files with 3 additions and 1 deletions

View file

@ -625,7 +625,7 @@ pub const AttributeInfo = union(enum) {
try w.splatByteAll(' ', depth * component_indent);
try w.print("{d}:\n", .{ i });
try component.indentedFormat(w, depth, component_indent, constant_pool);
try component.indentedFormat(w, depth, component_indent + 1, constant_pool);
}
},
.permitted_subclasses => |attr| {

View file

@ -0,0 +1,2 @@
public record Record(String name, int age) {}