Skip to content

fix: prevent forced wrapping of annotated records#896

Merged
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/record-annotations
May 19, 2026
Merged

fix: prevent forced wrapping of annotated records#896
jtkiesel merged 1 commit into
jhipster:mainfrom
jtkiesel:fix/record-annotations

Conversation

@jtkiesel
Copy link
Copy Markdown
Contributor

What changed with this PR:

Record declarations with annotations no longer forcefully wrap their parameters.

Example

Input

@A
record B(
  C c,
  D d
) {}

Output

@A
record B(C c, D d) {}

Relative issues or prs:

Closes #889

@jtkiesel jtkiesel merged commit 8177d5a into jhipster:main May 19, 2026
6 checks passed
@jtkiesel jtkiesel deleted the fix/record-annotations branch May 19, 2026 23:30
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 splitting a record after an annotation

1 participant