Use "unnecessary variable" inspection in J2K
Unused variables are no more treated as unnecessary Related to KT-15958
This commit is contained in:
@@ -2,8 +2,7 @@ import java.util.HashSet
|
||||
|
||||
internal class Foo {
|
||||
fun foo(o: HashSet<*>) {
|
||||
val o2 = o
|
||||
var foo = 0
|
||||
foo = o2.size
|
||||
foo = o.size
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user