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
public class TestBCV(
public val d: Duration = Duration.ZERO
)
dump is
public final class TestBCV {
public synthetic fun <init> (JILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (JLkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun getD-UwyO8pc ()J
}
If you make constructor internal like
public class TestBCV internal constructor(
public val d: Duration = Duration.ZERO
)
Only one of the constructors disappears from the dump
public final class TestBCV {
public synthetic fun <init> (JILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun getD-UwyO8pc ()J
}
The text was updated successfully, but these errors were encountered:
@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
The text was updated successfully, but these errors were encountered: