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

Stricter AST checks #2557

Merged
merged 3 commits into from
Oct 11, 2024
Merged

Stricter AST checks #2557

merged 3 commits into from
Oct 11, 2024

Conversation

Julow
Copy link
Collaborator

@Julow Julow commented May 30, 2024

The AST check was previously trigerring if both the std AST and the
extended AST were different. This is not the intended behavior.

The first commit changes the normalization of code blocks in docstrings to correctly handle repl phrases. This fixes an AST error that was hidden by the previous check.

Julow added 2 commits May 30, 2024 10:40
This use the extended AST normalization for docstrings within the std
AST. This ensures that repl phrases are handled correctly and removes
some code.
The AST check was previously trigerring if both the std AST and the
extended AST were different.

The std AST is intended to be the most trustworthy and is intended to
catch changes in the code that the extended AST couldn't.
@Julow Julow added the no changelog set this to bypass the CI check for changelog entries label May 30, 2024
@Julow Julow merged commit 9dbce34 into ocaml-ppx:main Oct 11, 2024
9 of 10 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.

1 participant