FIR checker: warn useless as and is
This commit is contained in:
committed by
TeamCityServer
parent
19d939c36e
commit
e2dc21da90
+1
-1
@@ -27,7 +27,7 @@ fun test_1(e: A) {
|
||||
|
||||
val d = when (e) {
|
||||
is E -> 1
|
||||
is A -> 2
|
||||
<!USELESS_IS_CHECK!>is A<!> -> 2
|
||||
}.plus(0)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user