[FIR] Implement SAM candidates discrimination

This commit is contained in:
Mikhail Glukhikh
2020-01-28 18:26:30 +03:00
parent c37a2d3dc3
commit 3f95ac341c
9 changed files with 37 additions and 12 deletions
@@ -7,4 +7,4 @@ object X2
fun <T1> foo(x: T1, f: (T1) -> T1) = X1
fun <T2> foo(xf: () -> T2, f: (T2) -> T2) = X2
val test: X2 = <!AMBIGUITY!>foo<!>({ 0 }, { it -> it + 1 })
val test: X2 = foo({ 0 }, { it -> it + 1 })