"ForEach parameter unused": don't report destructured parameters
Related to KT-22068
This commit is contained in:
committed by
Mikhail Glukhikh
parent
c0c00c8c4e
commit
f3b0378918
@@ -0,0 +1,5 @@
|
||||
fun foo(map: Map<String, String>) {
|
||||
map.forEach { (t, u) ->
|
||||
println("$t: $u")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user