FIR CFG traverser: do not skip graph enter node

#KT-42348 fixed
This commit is contained in:
Jinseong Jeon
2020-10-01 12:35:04 -07:00
committed by Dmitriy Novozhilov
parent a154cf4c45
commit 2d001a46fc
3 changed files with 12 additions and 29 deletions
@@ -1,16 +0,0 @@
fun foo(arg: Boolean) {
val x : Int
if (arg) {
x = 4
} else {
x = 2
}
x.hashCode()
class Local {
fun bar() {
<!UNINITIALIZED_VARIABLE!>x<!>.hashCode()
}
}
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
fun foo(arg: Boolean) {
val x : Int
if (arg) {