mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
9 lines
284 B
Kotlin
Vendored
9 lines
284 B
Kotlin
Vendored
fun one() = "one"
|
|
fun String.two() = this + "two"
|
|
fun String.three() = this + "three"
|
|
|
|
fun main(args: Array<String>) {
|
|
val s = <caret>one().two().three() // Can't select 'one()' with Alt in debugger, only 'one().two()' and 'one().two().three()' are available
|
|
}
|
|
|
|
// EXPECTED: one() |