Skip to content

Avoid compacting/merging attributes on recursive type definitions when trivia is present #3176

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

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

tboby
Copy link
Contributor

@tboby tboby commented Aug 2, 2025

Still WIP

Fixes #3174

Please verify your pull request is respecting our Pull request ground rules.
You can find more information in our Contributors documentation section.


items |> List.fold folder [] |> List.map List.rev |> List.rev

let genCompactedAttributes (n: MultipleAttributeListNode option) =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a code comment on what this does?

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.

#if in mutually recursive class definition throws
2 participants