mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
11 lines
254 B
Kotlin
Vendored
11 lines
254 B
Kotlin
Vendored
fun String.method1(fn: String.() -> Unit = {}) {}
|
|
|
|
fun String.method2(param1: Int) {}
|
|
|
|
fun String.method3() {
|
|
method1 {
|
|
method2(<caret>)
|
|
}
|
|
}
|
|
|
|
/* Text: (<highlight>param1: Int</highlight>), Disabled: false, Strikeout: false, Green: true */ |