Kapt+JVM_IR: do not generate secondary constructor bodies

In addition to ceedad40f3, do not generate bodies of constructors which
delegate to super.

 #KT-58226 Fixed
This commit is contained in:
Alexander Udalov
2023-04-25 14:43:31 +02:00
committed by Space Team
parent ba08f2c08a
commit 530725c6bf
7 changed files with 59 additions and 5 deletions
@@ -0,0 +1,14 @@
@kotlin.Metadata()
public enum Foo {
/*public static final*/ BLA /* = new Foo() */;
@org.jetbrains.annotations.NotNull()
private final java.lang.String bla = null;
@org.jetbrains.annotations.NotNull()
public final java.lang.String getBla() {
return null;
}
Foo(java.lang.String bla) {
}
}