Don't generate unnecessary accessors for private class properties
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
// PrivateInClass
|
||||
|
||||
class PrivateInClass private (s: String?) {
|
||||
private val nn: String = ""
|
||||
private val n: String? = ""
|
||||
private var nn: String
|
||||
get() = ""
|
||||
set(value) {}
|
||||
private val n: String?
|
||||
get() = ""
|
||||
private fun bar(a: String, b: String?): String? = null
|
||||
}
|
||||
Reference in New Issue
Block a user