FIR IDE: fix property accessor resolution

For property access with implicit receiver, the resolved fir is a
FirPropertyAccessExpression and hence we need to handle it in
KtFirCallResolver.
This commit is contained in:
Tianyu Geng
2021-10-28 16:06:14 -07:00
committed by Ilya Kirillov
parent 1a22124c02
commit a8ae704c0c
10 changed files with 84 additions and 3 deletions
@@ -0,0 +1,11 @@
// FILE: call.kt
fun JavaClass.call() {
<expr>foo</expr> = 42
}
// FILE: JavaClass.java
class JavaClass {
private int foo = -1;
int getFoo() { return foo; }
void setFoo(int v) { foo = v; }
}