24 lines
219 B
Kotlin
Vendored
24 lines
219 B
Kotlin
Vendored
// PSI_ELEMENT: org.jetbrains.kotlin.psi.JetNamedFunction
|
|
// OPTIONS: overloadUsages
|
|
interface X {
|
|
|
|
}
|
|
|
|
class A: X {
|
|
|
|
}
|
|
|
|
object O: A() {
|
|
fun <caret>foo() {
|
|
|
|
}
|
|
}
|
|
|
|
fun A.foo(s: String) {
|
|
|
|
}
|
|
|
|
fun X.foo(n: Int) {
|
|
|
|
}
|