mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
6 lines
236 B
Kotlin
6 lines
236 B
Kotlin
// AFTER-WARNING: Parameter 's' is never used, could be renamed to _
|
|
// AFTER-WARNING: Variable 'p' is never used
|
|
fun test(i: Int) {
|
|
val p: (String) -> Boolean =
|
|
if (i == 1) { { <caret>s -> true } } else { { s -> false } }
|
|
} |