FIR DFA: isolate effects between blocks in try expression

This commit is contained in:
Jinseong Jeon
2020-10-26 22:54:46 -07:00
committed by Dmitriy Novozhilov
parent 1f1e1828a7
commit bd173ebebc
9 changed files with 24 additions and 21 deletions
@@ -37,7 +37,7 @@ fun test3() {
catch (e: B) {
return
}
a.hashCode() // a is nullable here
a.<!INAPPLICABLE_CANDIDATE!>hashCode<!>() // a is nullable here
}
fun test4() {
var a: Int? = null
@@ -10,5 +10,5 @@ fun foo() {
} catch (ex: Exception) {}
bar(s)
if (s != null) { }
s.hashCode()
s.<!INAPPLICABLE_CANDIDATE!>hashCode<!>()
}