Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect comment formatting in variant record #222

Open
jgardn3r opened this issue Mar 24, 2025 · 0 comments
Open

Incorrect comment formatting in variant record #222

jgardn3r opened this issue Mar 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@jgardn3r
Copy link
Collaborator

There is incorrect formatting seen when formatting comments around variant record declarations. See this example.

When there are child lines for the fields of the variant record, the indentation of comment is set at the margin. It should be set at the level of the case arm.

E.g.,

A = record
case B of
  // here
  C: (D: T);
end;
@zaneduffield zaneduffield added the bug Something isn't working label Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants