[FIR] Don't assume that exit lambda node is target for exceptional exit for inplace lambdas

#KT-39709 Fixed
#KT-43156 Fixed
This commit is contained in:
Dmitriy Novozhilov
2020-11-12 11:39:18 +03:00
committed by teamcityserver
parent 440cf78884
commit 87380d1913
9 changed files with 18 additions and 24 deletions
@@ -98,7 +98,7 @@ class DefiniteInitializationAfterThrow {
if (bar()) throw RuntimeException()
a = 42
}
<!UNINITIALIZED_VARIABLE!>a<!>.hashCode()
a.hashCode()
}
fun bar() = false
}