FIR checker: warn useless as and is
This commit is contained in:
committed by
TeamCityServer
parent
19d939c36e
commit
e2dc21da90
Vendored
+1
-1
@@ -29,7 +29,7 @@ fun case_3(value_1: Any?): String = when (value_1) {
|
||||
|
||||
// TESTCASE NUMBER: 4
|
||||
fun case_4(value_1: Any): String = when (value_1) {
|
||||
is Any? -> ""
|
||||
<!USELESS_IS_CHECK!>is Any?<!> -> ""
|
||||
else -> ""
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user