Files
kotlin-fork/idea/testData/inspectionsLocal/redundantCompanionReference/sameNameSuperMemberVariable3.kt
T
2018-11-29 14:32:08 +03:00

20 lines
233 B
Kotlin
Vendored

// PROBLEM: none
interface A {
val foo: String
get() = "A"
}
open class B {
}
class C : B(), A {
fun test(): String {
return <caret>Companion.foo
}
companion object {
val foo = "C"
}
}