Files
kotlin-fork/idea/testData/refactoring/introduceVariable/ManyInnerOccurences.kt
T
Alefas 6fe52d15b4 Few fixes to Introduce Variable (no new features added)
Added few tests to Introduce Variable
More strict requirements for expressions to introduce it.
2012-02-08 17:07:38 +04:00

25 lines
312 B
Kotlin

fun a() {
if (true) {
if (true) {
1
}
} else {
if (true) {
<selection>1</selection>
}
}
}
/*
fun a() {
val i = 1
if (true) {
if (true) {
i
}
} else {
if (true) {
i
}
}
}
*/