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

Avoid false-positives reporting from the generated code #62

Merged
merged 3 commits into from
Oct 10, 2024

Conversation

Kakadu
Copy link
Owner

@Kakadu Kakadu commented Oct 10, 2024

Previously we were reporting lints (usually about eta-expansion) in the code generated by PPX extensions like deriving. Now we have a special lint, that collects type declarations and if buggy expression location points to type declaration we decide that it was not written by user and don't report it.

Previously we were reporting lints (usually about eta-expansion)
in the code generated by PPX extensions like deriving.
Now we have a special lint, that collects type declarations
and if buggy expression location points to type declaration
we decide that it was not written by user and don't report it.

Signed-off-by: Kakadu <[email protected]>
@Kakadu Kakadu mentioned this pull request Oct 10, 2024
@Kakadu Kakadu merged commit f66d302 into master Oct 10, 2024
2 checks passed
@Kakadu Kakadu deleted the aggregate_tds branch October 10, 2024 20:10
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