[FIR] Report NONE_APPLICABLE on callable references with multiple failed candidates
This commit is contained in:
committed by
Space Team
parent
6d2ab92d91
commit
d54068b8ab
+2
-2
@@ -25,7 +25,7 @@ class Case1() {
|
||||
}
|
||||
|
||||
fun case() {
|
||||
Companion(::<!UNRESOLVED_REFERENCE!>x<!>)
|
||||
Companion(::<!NONE_APPLICABLE!>x<!>)
|
||||
}
|
||||
|
||||
val x = ""
|
||||
@@ -41,7 +41,7 @@ class Case2() {
|
||||
}
|
||||
|
||||
fun case() {
|
||||
Companion(::<!UNRESOLVED_REFERENCE!>x<!>)
|
||||
Companion(::<!NONE_APPLICABLE!>x<!>)
|
||||
}
|
||||
|
||||
val x = C()
|
||||
|
||||
Reference in New Issue
Block a user