10 lines
160 B
Kotlin
Vendored
10 lines
160 B
Kotlin
Vendored
import Derived.foo
|
|
interface Base {
|
|
fun foo() {}
|
|
}
|
|
object Derived : Base
|
|
fun test() {
|
|
// Both calls resolved to Base.foo()
|
|
foo()
|
|
Derived.foo()
|
|
} |