Files
kotlin-fork/idea/testData/refactoring/introduceVariable/IntroduceAndCreateBlock.kt
T
Alexey Sedunov 0f5dff483a Introduce Variable: Proper occurrence search in generated block expression
#KT-7836 Fixed
 #KT-8443 Fixed
 #EA-71411 Fixed
2015-09-03 22:06:09 +03:00

3 lines
79 B
Kotlin
Vendored

fun test(n: Int) {
val t = if (n > 0) <selection>n + 1</selection> else n
}