[FE] Make constructors of sealed classes protected instead of internal
This commit is contained in:
committed by
TeamCityServer
parent
e795c2c407
commit
f3a8fcaea6
+1
-1
@@ -70,7 +70,7 @@ public expect interface BaseE {
|
||||
}
|
||||
|
||||
public sealed class BaseEImpl : BaseE {
|
||||
internal constructor BaseEImpl()
|
||||
protected constructor BaseEImpl()
|
||||
public final fun bar(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public abstract expect override /*1*/ /*fake_override*/ fun foo(): kotlin.Unit
|
||||
|
||||
@@ -23,7 +23,7 @@ public sealed expect class Presence {
|
||||
package
|
||||
|
||||
public sealed class P {
|
||||
internal constructor P()
|
||||
protected constructor P()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ public actual object Online : P {
|
||||
}
|
||||
|
||||
public sealed class P {
|
||||
internal constructor P()
|
||||
protected constructor P()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
Reference in New Issue
Block a user