27228c2fcc
#KT-9638 Fixed
18 lines
234 B
Kotlin
Vendored
18 lines
234 B
Kotlin
Vendored
import A.Companion.run
|
|
|
|
interface Action<T> {
|
|
fun run(t: T)
|
|
}
|
|
|
|
open class A {
|
|
companion object : Action<String> {
|
|
override fun run(t: String) {
|
|
}
|
|
}
|
|
}
|
|
|
|
class B : A() {
|
|
fun foo() {
|
|
run("")
|
|
}
|
|
} |