Files
kotlin-fork/compiler/testData/diagnostics/tests/inlineClasses/reservedConstructorsBodyInKotlinPre19.txt
T
Mikhail Zarechenskiy c586d7a03a Use more specific error for secondary constructor bodies in inline classes
- Also, this error allows IDE to provide quick-fix that changes language
 version in a project that simplifies the adoption
 - There is no point in
 changing K2 part as there this feature will be enabled by default

 ^KT-56224 Fixed
2023-02-03 13:38:31 +00:00

11 lines
452 B
Plaintext
Vendored

package
@kotlin.jvm.JvmInline public final value class Foo {
public constructor Foo(/*0*/ i: kotlin.Int)
public constructor Foo(/*0*/ x: kotlin.String)
public final val x: kotlin.String
public open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String
}