kotlinx-kover icon indicating copy to clipboard operation
kotlinx-kover copied to clipboard

Kotlin 1.9.10 causes Kover regression

Open pajatopmr opened this issue 2 years ago • 2 comments

Describe the bug When Kover encounters a serializable data class containing a list property, it mistakenly indicates instructions are not covered. The same source code compiled with 1.8.10 does not report any missing instructions.

Errors See attached Kover report below for 1.9.10 Screenshot 2023-09-18 at 12 47 20 PM

Expected behavior The report should indicate 100% coverage result.

Reproducer See https:gitlab.com/pmr/kover-serialization-issue1

Reports See above.

Environment

  • Kover Gradle Plugin version: 0.7.3
  • Gradle version: 8.2
  • Kotlin project type: Kotlin/JVM
  • Coverage Toolset (if customized in build script): Kover
  • Other context important for this bug: Kotlin 1.9.10

I cannot say definitively that this is a Kover bug. Could very easily be a Serialization bug, which I believe that it is but I'm loathe to complain to the Serialization team without some evidence supplied by the Kover team. But Kover is where the failure occurs so I must start here.

pajatopmr avatar Sep 18 '23 16:09 pajatopmr

+1

hanrw avatar Jun 05 '24 08:06 hanrw

@shanshin , hi! Could you tell about approximate time for bug fix?

kszorin avatar Sep 10 '24 05:09 kszorin