You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps: (what exactly are you doing with the above reproducer?)
Just run a ./gradlew clean build
Navigate to the coverage report file as described in the README.
Expected behaviour
It is a return statement, it should be covered.
There should be no missing branches whatsoever.
Actual behaviour
The text was updated successfully, but these errors were encountered:
Not sure if it's helpful or not, but this same code will pass if the kotlin version is set to 1.5.20. Haven't really tried out any other version. So I don't know if it's some different way the compiled classes are getting generated that makes jacoco see things differently.
THIS IS A BUG TRACKER ONLY. FOR QUESTIONS PLEASE CHECK FAQ OR USE FORUM:
http://www.jacoco.org/jacoco/trunk/doc/faq.html
https://groups.google.com/forum/?fromgroups=#!forum/jacoco
Please understand that
ISSUES WITHOUT FOLLOWING INFORMATION WILL BE CLOSED WITHOUT COMMENTS!
Thank you for filling bug report!
Steps to reproduce
JaCoCo version: 0.8.7
Operating system: OSX
Tool integration: Gradle
Example project: https://github.com/cro-magnon/jacoco-bug
Steps: (what exactly are you doing with the above reproducer?)
Just run a
./gradlew clean build
Navigate to the coverage report file as described in the README.
Expected behaviour
It is a return statement, it should be covered.
There should be no missing branches whatsoever.
Actual behaviour
The text was updated successfully, but these errors were encountered: