FIR: discriminate candidates with suspend conversion

This commit is contained in:
Jinseong Jeon
2020-09-09 12:54:50 -07:00
committed by Mikhail Glukhikh
parent 6de8ba40c1
commit 5fdd06676f
6 changed files with 30 additions and 8 deletions
@@ -14,6 +14,6 @@ fun test1() {
// candidate without suspend conversions is more specific
fun test2(f: () -> Int, g: suspend () -> Int) {
<!AMBIGUITY!>foo<!>(f)
foo(f)
foo(g)
}