FIR: thread control flow through anonymous object init blocks

^KT-39646 Fixed
This commit is contained in:
pyos
2021-11-18 14:31:22 +01:00
committed by TeamCityServer
parent 19031c88d9
commit a1be855d17
17 changed files with 506 additions and 431 deletions
@@ -19,7 +19,7 @@ fun bar() {
}
}
// Ok
<!UNINITIALIZED_VARIABLE!>x<!>.length
x.length
}
fun gav() {
@@ -53,7 +53,7 @@ fun gau() {
}
}
// Ok
<!UNINITIALIZED_VARIABLE!>x<!>.length
x.length
val y: String
fun local() {
object: Any() {