Files
kotlin/idea/testData/refactoring/extractFunction/controlFlow/outputValues/valuesUsedInNestedBlock.kt

9 lines
131 B
Kotlin
Vendored

class T(val n: Int)
// SIBLING:
fun foo() {
<selection>if (true) {
val k = 1
T().n + k + 1
}</selection>
}