Consistency

This commit is contained in:
ktkk 2026-06-23 20:54:06 +02:00
parent ec650b614f
commit c61d74c22c

View file

@ -231,8 +231,8 @@ pub fn format(self: *const Self, w: *std.Io.Writer) std.Io.Writer.Error!void {
_ = try w.write("this class:\n");
try this_class.format(w, depth, indent + 1, self.constant_pool);
_ = try w.write("super class:\n");
if (self.superClass() catch return error.WriteFailed) |super_class| {
_ = try w.write("super class:\n");
try super_class.format(w, depth, indent + 1, self.constant_pool);
}