[FIR] Check is for impossibility

^KT-58203 Fixed
^KT-62646
This commit is contained in:
Nikolay Lunyak
2024-02-29 15:39:33 +02:00
committed by Space Team
parent 92d8da621e
commit 88ff93df7f
42 changed files with 110 additions and 83 deletions
@@ -45,7 +45,7 @@ fun test(i: Inv<Nothing>, iUnit: Inv<Unit>) {
run<dynamic> { "" }
}
if (iUnit is String) {
if (<!USELESS_IS_CHECK!>iUnit is String<!>) {
launch {
run(A.<!INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTION_WARNING!>flexible<!>(iUnit)) { 42 }
}