[FIR] Check is for impossibility
^KT-58203 Fixed ^KT-62646
This commit is contained in:
committed by
Space Team
parent
92d8da621e
commit
88ff93df7f
+1
-1
@@ -17,7 +17,7 @@ fun test_2(x: Any) {
|
||||
fun test_3(x: Any) {
|
||||
when {
|
||||
x !is String -> {}
|
||||
x !is Int -> {}
|
||||
<!USELESS_IS_CHECK!>x !is Int<!> -> {}
|
||||
else -> {
|
||||
x.length
|
||||
x.inc()
|
||||
|
||||
Reference in New Issue
Block a user