JVM_IR: do not generate accessors to lateinit private properties
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
class SS {
|
||||
private lateinit var s: String
|
||||
|
||||
fun setS(s: String) {
|
||||
this.s = s
|
||||
}
|
||||
|
||||
fun getS() = s
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
val ss = SS()
|
||||
ss.setS("OK")
|
||||
return ss.getS()
|
||||
}
|
||||
Reference in New Issue
Block a user