I recently raised
https://github.com/jacoco/jacoco/issues/1351 which documents an issue where you get less than 100% branch coverage switching from Kotlin 1.6.10 to 1.6.21 or 1.7.10.
Interestingly the Kotlin compiler produces the same bytecode for the class that is reporting less coverage than in 1.6.10.
After a bit of digging I noticed that the build runs on Kotlin 1.5.0.
Are there any plans to change the build to run on later versions of Kotlin, or to support multiple versions as is the case for Java ?
I've noticed that the build fails if the Kotlin version in org.jacoco.core.test.validation.kotlin/pom.xml is changed to a later version (e..g. 1.6.10) so it looks like Jacoco is generating different coverage stats depending on the Kotlin version.
Is this a known issue ?