866f188120
Also: * Do not rename public ABI fields This includes backing fields for const, lateinit, @JvmField properties, and instance fields for objects. * FAKE_OVERRIDE declarations for static members of parent Java classes Required to report cases when a Kotlin function accidentally overrides Java class member.
8 lines
152 B
Kotlin
Vendored
8 lines
152 B
Kotlin
Vendored
// TARGET_BACKEND: JVM_IR
|
|
interface B {
|
|
fun getX() = 1
|
|
}
|
|
|
|
class C : B {
|
|
<!ACCIDENTAL_OVERRIDE!><!NOTHING_TO_OVERRIDE!>override<!> val x<!> = 1
|
|
} |