| ... | ... | @@ -1655,7 +1655,7 @@ fn errorSetDecl( |
| 1655 | 1655 | switch (token_tags[tok_i]) { |
| 1656 | 1656 | .doc_comment, .comma => {}, |
| 1657 | 1657 | .identifier => count += 1, |
| 1658 | | .r_paren => break :count count, |
| 1658 | .r_brace => break :count count, |
| 1659 | 1659 | else => unreachable, |
| 1660 | 1660 | } |
| 1661 | 1661 | } else unreachable; // TODO should not need else unreachable here |
| ... | ... | @@ -1672,7 +1672,7 @@ fn errorSetDecl( |
| 1672 | 1672 | fields[field_i] = try mod.identifierTokenString(scope, tok_i); |
| 1673 | 1673 | field_i += 1; |
| 1674 | 1674 | }, |
| 1675 | | .r_paren => break, |
| 1675 | .r_brace => break, |
| 1676 | 1676 | else => unreachable, |
| 1677 | 1677 | } |
| 1678 | 1678 | } |