Files
kotlin-fork/compiler/testData/diagnostics/tests/overload/lambdasWithDifferentParameterNumber.fir.kt
T
2023-03-27 10:44:50 +00:00

13 lines
190 B
Kotlin
Vendored

// ISSUE: KT-57477
fun f(block: (Int) -> Unit) {}
fun f(block: (Int, Int) -> Unit) {}
fun g(block: Int.() -> Unit) {}
fun g(block: (Int, Int) -> Unit) {}
fun test() {
f {}
g {}
}