FIR: resolve conflicts around SAM calls properly
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ object X2
|
||||
fun <T1> foo(x: T1, f: (T1) -> T1) = X1
|
||||
fun <T2> foo(xf: () -> T2, f: (T2) -> T2) = X2
|
||||
|
||||
val test: X2 = foo({ 0 }, { it -> it + 1 })
|
||||
val test: X2 = <!OVERLOAD_RESOLUTION_AMBIGUITY!>foo<!>({ 0 }, { it -> it + 1 })
|
||||
|
||||
Reference in New Issue
Block a user