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

16 lines
191 B
Kotlin
Vendored

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