FIR: Do not create synthetic properties for non-Java accessors

^KT-35495 Fixed
This commit is contained in:
Denis Zharkov
2020-06-08 13:28:04 +03:00
parent 6a1f921a5c
commit 38922a84f1
15 changed files with 51 additions and 40 deletions
@@ -9,7 +9,7 @@ fun foo(javaClass: JavaClass, kotlinClass: KotlinClass) {
javaClass.something = 1
javaClass.<!UNRESOLVED_REFERENCE!>Something<!>
useInt(kotlinClass.getSomething())
kotlinClass.something
kotlinClass.<!UNRESOLVED_REFERENCE!>something<!>
}
fun useInt(i: Int) {}
@@ -17,4 +17,4 @@ fun useInt(i: Int) {}
// FILE: JavaClass.java
public class JavaClass {
public int getSomething() { return 1; }
}
}