mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
Do not report an error on enum entry without initializer if all parameters have default values (error is still reported if there is no such constructor, or if the constructor call is ambiguous). Record resolved call on KtEnumEntry. NB is the enum entry has a corresponding subclass, we still have to generate the "default" constructor call, because FE doesn't know about the platform-specific representation of that class and its constructors. See also KT-14097, KT-15900
16 lines
828 B
Plaintext
Vendored
16 lines
828 B
Plaintext
Vendored
@kotlin.Metadata
|
|
public final class ConstructorWithDefaultArgumentsKt {
|
|
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
|
}
|
|
|
|
@kotlin.Metadata
|
|
public enum class Test {
|
|
public final static field OK: Test
|
|
private final @org.jetbrains.annotations.NotNull field str: java.lang.String
|
|
protected method <init>(@java.lang.Synthetic p0: java.lang.String, @java.lang.Synthetic p1: int, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
|
|
synthetic method <init>(p0: java.lang.String, p1: int, p2: java.lang.String, p3: int, p4: kotlin.jvm.internal.DefaultConstructorMarker): void
|
|
public final @org.jetbrains.annotations.NotNull method getStr(): java.lang.String
|
|
public static method valueOf(p0: java.lang.String): Test
|
|
public static method values(): Test[]
|
|
}
|