Files
kotlin-fork/analysis/analysis-api/testData/analysisSession/resolveCall/javaPropertySetter_unqualified.kt
T
Tianyu Geng a8ae704c0c 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.
2021-11-12 21:56:46 +01:00

12 lines
208 B
Kotlin
Vendored

// 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; }
}