Skip to content

LeftCurly and RightCurly should accept the same tokens #3547

@rnveach

Description

@rnveach

Attention!!!! this issue could affect Google style 4.1.2 point, it should probably be reviewed after the fix.

Currently RightCurly accepts a lot less tokens (13 tokens) than LeftCurly (20 tokens).
It is unclear if this is just a mistake or if there is some underlying reason.
We already have one area where this does look like a mistake and is causing some closing braces to be ignored.

This issue should identify tokens that can/should be added to RightCurly, and document the reason any tokens can't be added, either in xdoc on javadoc.
A new UT should be created that verifies they stay in sink.

New tokens should not be added to default tokens: #12640 (comment)


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions