61d0bcdf76
#KT-7068 Fixed
17 lines
269 B
Kotlin
Vendored
17 lines
269 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
fun withLambda(block : Int.(String) -> Unit) {
|
|
}
|
|
|
|
fun withLambda(block : Int.(String, String) -> Unit) {
|
|
}
|
|
|
|
fun test() {
|
|
withLambda { r ->
|
|
r.length()
|
|
}
|
|
|
|
withLambda { x, y ->
|
|
x.length() + y.length()
|
|
}
|
|
} |