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

Fix S3247 FP: Should not report on member access objects #9486

Merged
merged 6 commits into from
Jun 28, 2024

Conversation

pavel-mikula-sonarsource
Copy link
Contributor

Fixes #9485

Copy link
Contributor

@sebastien-marichal sebastien-marichal left a comment

Choose a reason for hiding this comment

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

LGTM!

_ = (Fruit)f.Property; // Secondary
}

if(LocalProperty is Fruit) // Noncompliant
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick, missing space:

Suggested change
if(LocalProperty is Fruit) // Noncompliant
if (LocalProperty is Fruit) // Noncompliant

Copy link

sonarcloud bot commented Jun 28, 2024

Copy link

sonarcloud bot commented Jun 28, 2024

@pavel-mikula-sonarsource pavel-mikula-sonarsource merged commit 0ee3b08 into master Jun 28, 2024
26 checks passed
@pavel-mikula-sonarsource pavel-mikula-sonarsource deleted the Pavel/S3247-04-FP branch June 28, 2024 13:09
@sebastien-marichal
Copy link
Contributor

sebastien-marichal commented Jul 1, 2024

Peach validation revealed FNs: #9491 created.

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.

Fix S3247 FP: Should not report on member access objects
2 participants