// "Remove single lambda parameter declaration" "false" // ACTION: Add braces to 'when' entry // ACTION: Convert to multi-line lambda // ACTION: Enable a trailing comma by default in the formatter // ACTION: Remove explicit lambda parameter types (may break code) // ACTION: Rename to _ fun test(i: Int) { val p: (String) -> Boolean = when (i) { 1 -> { s: String -> true } else -> { s: String -> false } } }