FIR: discriminate candidates with suspend conversion
This commit is contained in:
committed by
Mikhail Glukhikh
parent
6de8ba40c1
commit
5fdd06676f
Vendored
+1
-1
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user