[K/N] Header klibs: Keep private properties in value classes

^KT-61767 Fixed
This commit is contained in:
Johan Bay
2023-09-07 12:43:22 +02:00
committed by Space Cloud
parent 64fb36deef
commit a1c2ded8a3
4 changed files with 14 additions and 11 deletions
@@ -28,4 +28,6 @@ class B : A() {
companion object {
const val bConst: Int = 90
}
}
}
value class C(private val b: String)
@@ -31,10 +31,15 @@ fun useB(b: B) {
B.bConst
}
fun useC(b: String) {
C(b)
}
fun runAppAndReturnOk(): String {
useI(A())
useA(A())
useB(B())
useC("test")
return "OK"
}