Supported vals initialized after.
#KT-2637 in progress
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// 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)
|
||||
}
|
||||
Reference in New Issue
Block a user