Skip to content

fix: don't break member chain for trailing comment#907

Merged
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/member-chain-trailing-comment
May 23, 2026
Merged

fix: don't break member chain for trailing comment#907
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/member-chain-trailing-comment

Conversation

@jtkiesel

Copy link
Copy Markdown
Contributor

What changed with this PR:

Member chains with trailing comments no longer break.

Example

Input

a(
  b.c // comment
);

Output

a(
  b.c // comment
);

Relative issues or prs:

Closes #887

@jtkiesel jtkiesel merged commit 71ea352 into jhipster:main May 23, 2026
6 checks passed
@jtkiesel jtkiesel deleted the fix/member-chain-trailing-comment branch May 23, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2.9.2] Regression adding a needless new line

1 participant