Skip to content

Conversation

@liam923
Copy link
Contributor

@liam923 liam923 commented Oct 1, 2025

Add an attribute to mark whether an identifier is generated by ppx_template. This turned out to be very easy - I just copied what is done for the [@@deprecated] attribute.

@dkalinichenko-js dkalinichenko-js self-requested a review October 1, 2025 18:19
Copy link
Contributor

@dkalinichenko-js dkalinichenko-js left a comment

Choose a reason for hiding this comment

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

Looks simple enough.

("deprecated", `Bool deprecated)
]
@
if ppx_template_generated then [ ("ppx_template_generated", `Bool true) ]
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the if here for compatibility with the existing RPC interface?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't believe it's required for compatibility, but I did this because it limits the test diff.

@liam923 liam923 merged commit feef51f into main Oct 1, 2025
1 check passed
@liam923 liam923 deleted the filter-ppx-template branch October 1, 2025 18:55
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.

3 participants