Fix secondary constructor deletion in "sealed class -> object"
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// FIX: Convert sealed sub-class to object
|
||||
// WITH_RUNTIME
|
||||
|
||||
sealed class Sealed
|
||||
|
||||
<caret>class SubSealed : Sealed() {
|
||||
constructor() {
|
||||
println("init")
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// FIX: Convert sealed sub-class to object
|
||||
// WITH_RUNTIME
|
||||
|
||||
sealed class Sealed
|
||||
|
||||
object SubSealed : Sealed() {
|
||||
init {
|
||||
println("init")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user