mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 15:53:49 +00:00
13 lines
315 B
Kotlin
Vendored
13 lines
315 B
Kotlin
Vendored
// PARAM_DESCRIPTOR: value-parameter s: kotlin.String defined in Outer.O.f
|
|
// PARAM_TYPES: kotlin.String
|
|
class Outer {
|
|
object O {
|
|
fun f(s: String) {
|
|
<selection>s.funFromCompanion()</selection>
|
|
}
|
|
}
|
|
|
|
companion object {
|
|
fun String.funFromCompanion(): String = ""
|
|
}
|
|
} |