2c0830b017
As per discussion in https://youtrack.jetbrains.com/issue/KT-6870
35 lines
448 B
Kotlin
35 lines
448 B
Kotlin
open class B {
|
|
val x = 1
|
|
}
|
|
|
|
class A : B() {
|
|
fun getX() = 1
|
|
|
|
fun getA(): Int = 1
|
|
val a: Int = 1
|
|
}
|
|
|
|
fun getB(): Int = 1
|
|
val b: Int = 1
|
|
|
|
trait Tr {
|
|
fun getTr() = 1
|
|
}
|
|
|
|
class SubTr : Tr {
|
|
val tr = 1
|
|
}
|
|
|
|
// Clashing synthetic accessors are only reported in compiler, IDE doesn't see them
|
|
class C {
|
|
private fun f() {}
|
|
fun `access$f$0`(c: C) {}
|
|
|
|
class Nested {
|
|
|
|
fun test() {
|
|
C().f()
|
|
}
|
|
}
|
|
}
|