Files
Vladimir Dolzhenko 8434c3dba7 [kotlin] Adjusted intention test data with after-warnings
GitOrigin-RevId: 961365c8e94f6df9c47d48663e4ebc9c3b9ad10a
2021-09-23 14:08:01 +00:00

11 lines
258 B
Plaintext

// AFTER-WARNING: Parameter 'f' is never used
// AFTER-WARNING: Parameter 'it' is never used, could be renamed to _
fun foo(f: (Int) -> String) {}
fun test() {
foo(fun(it: Int): String {
// comment1
return ""
// comment2
})
}