Files
kotlin-fork/idea/testData/refactoring/inline/MultipleInitializers.kt
T
Evgeny Gerashchenko c22f54055e Supported vals initialized after.
#KT-2637 in progress
2013-07-23 21:43:05 +04:00

12 lines
201 B
Kotlin

// ERROR: Cannot perform refactoring.\nCannot find a single definition to inline.
fun f() {
val v: Int
if (true) {
v = 239
}
else {
v = 30
}
println(<caret>v)
}