Don't generate getter for private or internal inline class primary vals

This commit is contained in:
Dmitry Petrov
2018-09-06 17:32:04 +03:00
parent 8158dd0c83
commit 65ad93ebe4
3 changed files with 26 additions and 1 deletions
@@ -0,0 +1,13 @@
// !LANGUAGE: +InlineClasses
interface IValue {
val value: Int
}
inline class TestOverriding(override val value: Int) : IValue
inline class TestPublic(val value: Int)
inline class TestInternal(internal val value: Int)
inline class TestPrivate(private val value: Int)