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
@@ -1,7 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
// Note: does not pass on FIR because of non-prohibited Kotlin synthetic properties,
// fun getS() = s is considered to be recursive here :(
// It's a question to be discussed in Dec 2019. Muted at this moment.
// WITH_RUNTIME
// FILE: lateinit.kt
private lateinit var s: String
@@ -1,7 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
// Note: does not pass on FIR because of non-prohibited Kotlin synthetic properties,
// fun getS() = s is considered to be recursive here :(
// It's a question to be discussed in Dec 2019. Muted at this moment.
// FILE: lateinit.kt
private lateinit var s: String