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

UnnecessaryApply: fix false negative for assignment #4948

Merged
merged 1 commit into from Jun 27, 2022
Merged

UnnecessaryApply: fix false negative for assignment #4948

merged 1 commit into from Jun 27, 2022

Commits on Jun 13, 2022

  1. UnnecessaryApply: fix false negative for assignment

    Fix a missed case of UnnecessaryApply where the apply contains a single field assignment but the result of the apply{} is unused. This pattern is actually used in 2/3 of the <noncompliant> examples and while it occurred in tests for false positives, no test actually checked that warnings were generated in the simple case.
    dzirbel committed Jun 13, 2022
    Copy the full SHA
    2c2f09b View commit details
    Browse the repository at this point in the history