zig fmt: fix regression with many container members

This commit is contained in:
Andrew Kelley
2021-02-09 22:42:00 -07:00
parent 9d87e6aeb8
commit fa5fcdd734
3 changed files with 19 additions and 22 deletions

View File

@@ -3609,10 +3609,7 @@ const Parser = struct {
.main_token = main_token,
.data = .{
.lhs = enum_tag_expr,
.rhs = try p.addExtra(Node.SubRange{
.start = members_span.start,
.end = members_span.end,
}),
.rhs = try p.addExtra(members_span),
},
});
} else {