Skip to content

[5.4 compat] effects keyword can be an attribute id#2714

Merged
Julow merged 2 commits intoocaml-ppx:mainfrom
EmileTrotignon:attr-effect
Oct 14, 2025
Merged

[5.4 compat] effects keyword can be an attribute id#2714
Julow merged 2 commits intoocaml-ppx:mainfrom
EmileTrotignon:attr-effect

Conversation

@EmileTrotignon
Copy link
Copy Markdown
Collaborator

Address issue #2703

I added a test but I think its not great

@EmileTrotignon EmileTrotignon added the no changelog set this to bypass the CI check for changelog entries label Jun 6, 2025
@EmileTrotignon
Copy link
Copy Markdown
Collaborator Author

No changelog because before effect was not a keyword and could therefore be used anywhere

@Octachron
Copy link
Copy Markdown
Contributor

Note that the parser change is superseded by the ones in #2720, but I did not think about adding tests for those attributes, so this part sounds potentially useful.

@EmileTrotignon
Copy link
Copy Markdown
Collaborator Author

Yeah, I don't think we can have to much tests.

Copy link
Copy Markdown
Collaborator

@Julow Julow left a comment

Choose a reason for hiding this comment

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

Rebased on top of #2720

@Julow Julow merged commit be0a745 into ocaml-ppx:main Oct 14, 2025
2 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog set this to bypass the CI check for changelog entries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants