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
@@ -74,9 +74,9 @@ class Foo {
}
fun test_4(foo: Foo) {
foo.x // should be error
foo.<!UNRESOLVED_REFERENCE!>x<!> // should be error
}
fun test_5(x: D) {
x.isGood
}
}
@@ -22,7 +22,7 @@ FILE: main.kt
}
public final fun test_4(foo: R|Foo|): R|kotlin/Unit| {
R|<local>/foo|.R|/Foo.x|
R|<local>/foo|.<Unresolved name: x>#
}
public final fun test_5(x: R|D|): R|kotlin/Unit| {
R|<local>/x|.R|/D.isGood|