Analysis API: Handle other FirElements in

KtCallResolver.resolveCandidates() and copy over remaining tests.
This commit is contained in:
Mark Punzalan
2022-01-31 17:58:37 +00:00
committed by Ilya Kirillov
parent 9b9da94a09
commit 58c6c25fe9
107 changed files with 1736 additions and 38 deletions
@@ -0,0 +1,6 @@
@Deprecated("", level=DeprecationLevel.HIDDEN)
fun a() {}
fun test() {
<expr>a()</expr>
}
@@ -0,0 +1,5 @@
class A
fun test(a: A, b: A) {
<expr>a ?: b</expr>
}
@@ -0,0 +1,5 @@
class A
fun test(a: A, b: A) {
a <expr>?:</expr> b
}
@@ -0,0 +1,5 @@
class A
fun test(a: A, b: A) {
<expr>a === b</expr>
}
@@ -0,0 +1,5 @@
class A
fun test(a: A, b: A) {
a <expr>===</expr> b
}
@@ -0,0 +1,5 @@
class A
fun test(a: A, b: A) {
<expr>a !== b</expr>
}
@@ -0,0 +1,5 @@
class A
fun test(a: A, b: A) {
a <expr>!==</expr> b
}
@@ -0,0 +1,3 @@
fun call() {
<expr>function(1)</expr>
}