FIR: Simplify callable references resolution
Also that fixes some bugs
This commit is contained in:
+2
-2
@@ -34,9 +34,9 @@ fun main() {
|
||||
<!AMBIGUITY!>foo3<!>(KotlinClass::baz)
|
||||
|
||||
// Type mismatch
|
||||
foo1(KotlinClass::bar)
|
||||
<!INAPPLICABLE_CANDIDATE!>foo1<!>(<!UNRESOLVED_REFERENCE!>KotlinClass::bar<!>)
|
||||
foo2(KotlinClass::bar)
|
||||
<!AMBIGUITY!>foo3<!>(KotlinClass::bar)
|
||||
foo3(KotlinClass::bar)
|
||||
|
||||
foo1(KotlinClass2::bar)
|
||||
// Type mismatch
|
||||
|
||||
Reference in New Issue
Block a user