Skip to content

Conversation

@firewave
Copy link
Collaborator

No description provided.

@firewave firewave force-pushed the bad-inline branch 4 times, most recently from 1c49605 to ac64111 Compare November 29, 2025 17:46
@firewave firewave marked this pull request as ready for review November 29, 2025 17:46
@firewave firewave marked this pull request as draft November 29, 2025 18:42
@firewave
Copy link
Collaborator Author

Still fails tests because as inline suppressions are now being tracked globally until the end of the analysis ones that are found in included filed might be picked up more than once.

To fix this the function adding the suppressions should report more states than boolean and using the fileindex we can determine that it isn't the file which passed to the analysis and omit the warning. That would probably cause suppressions which are duplicated in the included file itself never to be reported (need to add tests for that) - but that seems acceptable for now.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 1, 2025

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