Files
kotlin/idea/testData/debugger/selectExpression/firstCallInChain.kt
Nikolay Krasko 7a4d20b4cf Make quick evaluate work on receiver in qualified expressions (KT-13269)
(cherry picked from commit 970ac5a)

 #KT-13269 Fixed
2016-08-16 13:04:41 +03:00

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()