blob: eed8dbfbe3190efa9a90a83564470f3c7b02043c [file]
// 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() {
<!OVERLOAD_RESOLUTION_AMBIGUITY!>f<!> {}
<!OVERLOAD_RESOLUTION_AMBIGUITY!>g<!> {}
}