[FE] Make constructors of sealed classes protected instead of internal
This commit is contained in:
committed by
TeamCityServer
parent
e795c2c407
commit
f3a8fcaea6
@@ -65,7 +65,7 @@ public open class OpenClass2 {
|
||||
}
|
||||
|
||||
public sealed class Sealed {
|
||||
internal constructor Sealed()
|
||||
protected constructor Sealed()
|
||||
public final fun check(/*0*/ arg: Sealed.Sealed1): kotlin.Unit
|
||||
public open override /*1*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
public sealed class My {
|
||||
internal constructor My(/*0*/ x: kotlin.Int?)
|
||||
protected constructor My(/*0*/ x: kotlin.Int?)
|
||||
public open val x: kotlin.Int?
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user