JVM JVM_IR hide sealed class constructors
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
sealed class Sealed(val value: String) {
|
||||
constructor() : this("OK")
|
||||
}
|
||||
|
||||
class Derived : Sealed()
|
||||
|
||||
fun box() = Derived().value
|
||||
Reference in New Issue
Block a user