mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
There are mainly two kind of changes: - skipping 'componentX' calls for destructuring entries named _ - fixing local variable table for them - skip entries for destructuring entries named _ - use $noName_<i> format for lambda parameters named _ #KT-3824 Fixed #KT-2783 Fixed
4 lines
123 B
Kotlin
Vendored
4 lines
123 B
Kotlin
Vendored
fun foo(block: (String, String, String) -> String): String = block("O", "fail", "K")
|
|
|
|
fun box() = foo { x, _, y -> x + y }
|