Private getter and public setter for a Kotlin property

It’s impossible at the moment in Kotlin to have a property with a setter that is more visible than the property. There’s a language design issue in the issue tracker on this, feel free to watch/vote for it or share your use cases: https://youtrack.jetbrains.com/issue/KT-3110

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)