Desugar synthetic Java properties in psi2ir
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// FILE: javaSyntheticPropertyAccess.kt
|
||||
fun test(j: J) {
|
||||
j.foo += 1
|
||||
}
|
||||
|
||||
// FILE: J.java
|
||||
public class J {
|
||||
private int foo = 42;
|
||||
|
||||
public int getFoo() { return foo; }
|
||||
public void setFoo(int x) {}
|
||||
}
|
||||
Reference in New Issue
Block a user