Files
kotlin-fork/j2k/testData/fileOrElement/assignmentExpression/nullability.kt
T
Mikhail Glukhikh 44790eccaf Use "unnecessary variable" inspection in J2K
Unused variables are no more treated as unnecessary
Related to KT-15958
2017-07-20 17:48:27 +03:00

8 lines
124 B
Kotlin
Vendored

import java.util.HashSet
internal class Foo {
fun foo(o: HashSet<*>) {
var foo = 0
foo = o.size
}
}