FIR checker: warn useless as and is
This commit is contained in:
committed by
TeamCityServer
parent
19d939c36e
commit
e2dc21da90
@@ -13,6 +13,6 @@ interface B
|
||||
|
||||
fun test_2(x: Any?) {
|
||||
if (x is A && x is B) {
|
||||
x is A
|
||||
<!USELESS_IS_CHECK!>x is A<!>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user