[FE] Make constructors of sealed classes protected instead of internal
This commit is contained in:
committed by
TeamCityServer
parent
e795c2c407
commit
f3a8fcaea6
@@ -5,7 +5,7 @@ public fun test2(/*0*/ x: Stmt): kotlin.String
|
||||
public fun test3(/*0*/ x: Expr): kotlin.String
|
||||
|
||||
public sealed class Expr : Stmt {
|
||||
internal constructor Expr()
|
||||
protected constructor Expr()
|
||||
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
|
||||
@@ -26,7 +26,7 @@ public final class ForStmt : Stmt {
|
||||
}
|
||||
|
||||
public sealed class Stmt {
|
||||
internal constructor Stmt()
|
||||
protected constructor Stmt()
|
||||
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