-
Notifications
You must be signed in to change notification settings - Fork 1.2k
KotlinSafeCallOperatorFilter should not be affected by presence of pseudo instructions #1956
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
KotlinSafeCallOperatorFilter should not be affected by presence of pseudo instructions #1956
Conversation
leveretka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
| <li>Part of bytecode generated by the Kotlin compiler for chains of safe call | ||
| operators is filtered out during generation of report | ||
| (GitHub <a href="https://github.com/jacoco/jacoco/issues/1956">#1956</a>).</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <li>Part of bytecode generated by the Kotlin compiler for chains of safe call | |
| operators is filtered out during generation of report | |
| (GitHub <a href="https://github.com/jacoco/jacoco/issues/1956">#1956</a>).</li> | |
| <li>Part of bytecode generated by the Kotlin compiler for more cases of chained safe call | |
| operators is filtered out during generation of report | |
| (GitHub <a href="https://github.com/jacoco/jacoco/issues/1956">#1956</a>).</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leveretka nice - this way it won't be identical to the one in previous version 👍
This was overlooked in #1818
See #921 (comment)
For https://github.com/SonarSource/sonar-kotlin/tree/2.22.0.5972
prior to this change we find 102 safe call operator chains
and after 112
ie 10 more
For http://github.com/JetBrains/kotlin/tree/v2.0.0
prior to this change 5042
and after 5175
ie 133 more