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:
committed by
Ilya Kirillov
parent
1a22124c02
commit
a8ae704c0c
Vendored
+11
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user