[FIR] Report NONE_APPLICABLE on callable references with multiple failed candidates
This commit is contained in:
committed by
Space Team
parent
6d2ab92d91
commit
d54068b8ab
+1
-1
@@ -6,5 +6,5 @@ fun foo(i: Long) {}
|
||||
fun bar(f: (Boolean) -> Unit) {}
|
||||
|
||||
fun test() {
|
||||
bar(::<!UNRESOLVED_REFERENCE!>foo<!>)
|
||||
bar(::<!NONE_APPLICABLE!>foo<!>)
|
||||
}
|
||||
|
||||
@@ -5,5 +5,5 @@ fun foo(x: Float) = 10f
|
||||
fun foo(x: String) = ""
|
||||
|
||||
fun main() {
|
||||
bar(::<!UNRESOLVED_REFERENCE!>foo<!>) // no report about unresolved callable reference for `foo`
|
||||
bar(::<!NONE_APPLICABLE!>foo<!>) // no report about unresolved callable reference for `foo`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user