Files
kotlin-fork/idea/testData/intentions/destructuringInLambda/pair.kt
T
mglukhikh f13997750f Make destructure intention work on library data classes
So #KT-16468 Fixed
So #KT-14402 Fixed
2017-04-04 19:22:31 +03:00

8 lines
111 B
Kotlin
Vendored

// WITH_RUNTIME
fun foo() = 0 to 10
fun bar(): Int {
val <caret>b = foo()
return b.first + b.second
}