JVM JVM_IR hide sealed class constructors

This commit is contained in:
Dmitry Petrov
2021-01-22 15:31:56 +03:00
parent ca3bb02897
commit 708e6914bd
27 changed files with 555 additions and 97 deletions
@@ -0,0 +1,7 @@
sealed class Sealed(val value: String) {
constructor() : this("OK")
}
class Derived : Sealed()
fun box() = Derived().value