FIR: allow lower bound of flexible type when finding contributed invoke
This commit is contained in:
committed by
TeamCityServer
parent
4a24f0fab3
commit
3bca6ae893
+2
-2
@@ -49,11 +49,11 @@ fun test6(a: Any) {
|
||||
|
||||
fun test7(a: (Int) -> Int) {
|
||||
a as () -> Unit
|
||||
J().<!INAPPLICABLE_CANDIDATE!>run1<!>(a)
|
||||
J().run1(a)
|
||||
}
|
||||
|
||||
fun test8(a: () -> Unit) {
|
||||
J().<!INAPPLICABLE_CANDIDATE!>run1<!>(J.id(a))
|
||||
J().run1(J.id(a))
|
||||
}
|
||||
|
||||
fun test9() {
|
||||
|
||||
Reference in New Issue
Block a user