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

CanBeNonNullable: fix false positives for parameterized types #4870

Merged
merged 1 commit into from May 30, 2022
Merged

CanBeNonNullable: fix false positives for parameterized types #4870

merged 1 commit into from May 30, 2022

Commits on May 29, 2022

  1. CanBeNonNullable: fix false positives for parameterized types

    CanBeNonNullable reports that properties of parameterized types can be marked as non-nullable even when this is impossible, just because the parameterized type is itself nullable (i.e. does not inherit from a non-nullable type). Instead, the rule should only report cases where a property is explicitly marked nullable but does not need to be.
    dzirbel committed May 29, 2022
    Copy the full SHA
    0f1f1ac View commit details
    Browse the repository at this point in the history