FIR DFA: generate more correct implications on as/as?

^KT-54851 Fixed
This commit is contained in:
pyos
2022-11-11 18:49:29 +01:00
committed by teamcity
parent 6a2d74e211
commit 623dfdd5a3
5 changed files with 33 additions and 28 deletions
@@ -19,8 +19,8 @@ fun case_2(x: Any?) {
// TESTCASE NUMBER: 3
fun case_3(x: Any?) {
if (x as ClassLevel1? is ClassLevel1) {
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any? & ClassLevel1?")!>x<!>
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any? & ClassLevel1?")!>x<!><!UNSAFE_CALL!>.<!>test1()
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any? & ClassLevel1")!>x<!>
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any? & ClassLevel1")!>x<!>.test1()
}
}