Files
kotlin-fork/idea/testData/refactoring/introduceVariable/IntroduceAndCreateBlock.kt.after
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

6 lines
90 B
Plaintext
Vendored

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