Use the new type inference for top-level callable reference resolution

^KT-47797 Fixed
^KT-47987 Fixed
^KT-45034 Fixed
^KT-48446 Fixed
^KT-13934 Fixed
This commit is contained in:
Victor Petukhov
2021-09-20 17:13:17 +03:00
parent ca13aea26a
commit ee728b6902
115 changed files with 1239 additions and 1325 deletions
@@ -5,7 +5,6 @@ annotation class MyA(val i: Int)
Resolved call:
Candidate descriptor: constructor MyA(i: Int) defined in MyA
Resulting descriptor: constructor MyA(i: Int) defined in MyA
Explicit receiver kind = NO_EXPLICIT_RECEIVER
@@ -5,7 +5,6 @@ class B: <caret>A() {}
Resolved call:
Candidate descriptor: constructor A() defined in A
Resulting descriptor: constructor A() defined in A
Explicit receiver kind = NO_EXPLICIT_RECEIVER
@@ -5,7 +5,6 @@ fun foo(array: Array<Int>) {
Resolved call:
Candidate descriptor: operator fun get(index: Int): Int defined in kotlin.Array
Resulting descriptor: operator fun get(index: Int): Int defined in kotlin.Array
Explicit receiver kind = DISPATCH_RECEIVER