Supported vals initialized after.

#KT-2637 in progress
This commit is contained in:
Evgeny Gerashchenko
2013-07-09 19:13:37 +04:00
parent 72ed74ab9a
commit c22f54055e
11 changed files with 131 additions and 13 deletions
@@ -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)
}