mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
14 lines
275 B
Kotlin
Vendored
14 lines
275 B
Kotlin
Vendored
// PARAM_TYPES: kotlin.String
|
|
// PARAM_DESCRIPTOR: public final fun kotlin.String.foo(): kotlin.Unit defined in X
|
|
|
|
fun print(a: Any) {
|
|
|
|
}
|
|
|
|
class X {
|
|
fun String.foo() {
|
|
<selection>print(extension)</selection>
|
|
}
|
|
|
|
val String.extension: Int get() = length()
|
|
} |