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.
15 lines
324 B
Kotlin
Vendored
15 lines
324 B
Kotlin
Vendored
// TARGET_BACKEND: JVM_IR
|
|
|
|
interface Foo
|
|
|
|
class Bar(f: Foo) : Foo by f {
|
|
// Backing field is renamed to `$$delegate_0$1` in JVM_IR
|
|
val `$$delegate_0`: Foo? = null
|
|
}
|
|
|
|
class Bar2(f: Foo) :
|
|
// Backing field for delegate is renamed to `$$delegate_0$1` in JVM_IR
|
|
Foo by f {
|
|
|
|
lateinit var `$$delegate_0`: Foo
|
|
} |