Detect redundant 'is' check
#KT-14187 Fixed
This commit is contained in:
committed by
Mikhail Zarechenskiy
parent
768e0fa738
commit
cd24adac32
+1
-1
@@ -1,5 +1,5 @@
|
||||
fun test() {
|
||||
if (1 is Int) {
|
||||
if (<warning>1 is Int</warning>) {
|
||||
if (1 is <error>Boolean</error>) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user