KT-27565 fix
This commit is contained in:
@@ -11,8 +11,11 @@ public interface Runnable {
|
||||
// FILE: k.kt
|
||||
|
||||
fun fail() {
|
||||
<!OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!>({ }, { })
|
||||
foo({ }, { })
|
||||
foo(::bar, { })
|
||||
}
|
||||
|
||||
fun foo(f: Runnable, selector: () -> Unit) {}
|
||||
fun foo(func1: () -> Unit, func2: () -> Unit) {}
|
||||
|
||||
fun bar() {}
|
||||
@@ -1,5 +1,6 @@
|
||||
package
|
||||
|
||||
public fun bar(): kotlin.Unit
|
||||
public fun fail(): kotlin.Unit
|
||||
public fun foo(/*0*/ func1: () -> kotlin.Unit, /*1*/ func2: () -> kotlin.Unit): kotlin.Unit
|
||||
public fun foo(/*0*/ f: Runnable, /*1*/ selector: () -> kotlin.Unit): kotlin.Unit
|
||||
|
||||
Reference in New Issue
Block a user