FIR: Do not create synthetic properties for non-Java accessors
^KT-35495 Fixed
This commit is contained in:
+3
-3
@@ -14,8 +14,8 @@ fun foo(k: KotlinClass2) {
|
||||
useInt(k.something2)
|
||||
useInt(k.getSomethingKotlin1())
|
||||
useInt(k.getSomethingKotlin2())
|
||||
k.somethingKotlin1
|
||||
k.somethingKotlin2
|
||||
k.<!UNRESOLVED_REFERENCE!>somethingKotlin1<!>
|
||||
k.<!UNRESOLVED_REFERENCE!>somethingKotlin2<!>
|
||||
}
|
||||
|
||||
fun useInt(i: Int) {}
|
||||
@@ -28,4 +28,4 @@ public class JavaClass1 {
|
||||
// FILE: JavaClass2.java
|
||||
public class JavaClass2 extends KotlinClass1 {
|
||||
public int getSomething2() { return 1; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user