Skip to content

Conversation

@Emyrk
Copy link
Member

@Emyrk Emyrk commented Oct 16, 2025

Adds a new type SupportsComments for handling comments on top level declarations and field properties.

The original idea was to create an AST node for comments. This works well when constructing an AST, but makes traversing an AST more difficult. The comment nodes add extra unbounded levels of indirection.

This method keeps the comments on the related type.

@Emyrk Emyrk merged commit 1bb8a39 into main Oct 16, 2025
1 check passed
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.

1 participant