Files
kotlin-fork/idea/testData/inspectionsLocal/forEachParameterNotUsed/normal.kt.after
T
Mikhail Glukhikh 11909a86a8 For each parameter not used: introduce "replace with repeat"
An enhancement for KT-27209
2018-12-11 16:42:03 +03:00

6 lines
113 B
Plaintext
Vendored

// WITH_RUNTIME
// FIX: Introduce anonymous parameter
fun test(list: List<String>) {
list.forEach { _ -> }
}