Skip to content

Conversation

@munificent
Copy link
Member

A very subtle bug in the comment handling would cause a /* */ inline
comment to force the surrounding code to full split when not needed in
some cases.

This fixes that issue. It also slightly tweaks the formatting of code
containing inline block comments in some rare cases. In practice, the
only code I see affected by that is formatter tests. In the real world,
all affected code is related to the bug itself and is fixed by this
change.

Fix #837.

A very subtle bug in the comment handling would cause a /* */ inline
comment to force the surrounding code to full split when not needed in
some cases.

This fixes that issue. It also slightly tweaks the formatting of code
containing inline block comments in some rare cases. In practice, the
only code I see affected by that is formatter tests. In the real world,
all affected code is related to the bug itself and is fixed by this
change.

Fix #837.
@munificent munificent requested a review from stereotype441 June 9, 2021 00:32
@google-cla google-cla bot added the cla: yes label Jun 9, 2021
@munificent munificent merged commit 5f93e07 into master Jun 11, 2021
@munificent munificent deleted the 837-block-comment-splits branch June 11, 2021 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

non-fixed-point format example

2 participants