[FIR] Propagate non-null info for val members, ^KT-44560 Fixed

This commit is contained in:
Ivan Kochurkin
2021-12-14 22:53:37 +03:00
committed by teamcity
parent c5a03d0573
commit 9e55e41d8b
6 changed files with 35 additions and 34 deletions
@@ -109,8 +109,8 @@ fun case_11(x: Any?) {
*/
fun case_12(x: Any?) {
if (<!CONDITION_TYPE_MISMATCH!>x!! as Boolean?<!>) {
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any? & kotlin.Any")!>x<!>.<!UNRESOLVED_REFERENCE!>not<!>()
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any")!>select(x)<!>.<!UNRESOLVED_REFERENCE!>not<!>()
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Any? & kotlin.Boolean")!>x<!>.not()
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Boolean")!>select(x)<!>.not()
}
}