Files
kotlin-fork/idea/testData/refactoring/extractFunction/initializers/properties/nestedInMultiDeclaration.kt
T
2014-09-10 16:44:46 +04:00

11 lines
208 B
Kotlin
Vendored

// WITH_RUNTIME
// SIBLING:
fun foo() {
val (a, b) =
if (true) {
<selection>1 + 1</selection>
1 to 2
} else {
2 to 3
}
}