1db7a0e0cc
#KT-27539 Fixed
16 lines
214 B
Kotlin
Vendored
16 lines
214 B
Kotlin
Vendored
// PROBLEM: none
|
|
|
|
open class B {
|
|
fun foo(x: Int) = "B$x"
|
|
}
|
|
|
|
class C : B() {
|
|
fun test(): String {
|
|
return <caret>Companion.foo(1)
|
|
}
|
|
|
|
companion object {
|
|
fun foo(x: Int) = "C$x"
|
|
}
|
|
}
|