Open kunyavskiy opened 5 months ago
@fzhinkin while you are at it, please take a look at https://github.com/Kotlin/binary-compatibility-validator/issues/73 and at https://youtrack.jetbrains.com/issue/KT-51073.
It seems like they have the same (or very similar) root cause, it may save you some time
@qwwdfsad thanks! Indeed, it seems to be (almost) the same issue: public synthetic fun <init> (JILkotlin/jvm/internal/DefaultConstructorMarker;)V
from the example above is indistinguishable from a method that would be generated for constructor(d: Duration, x: Int)
.
For
dump is
If you make constructor internal like
Only one of the constructors disappears from the dump