[FE] Make constructors of sealed classes protected instead of internal

This commit is contained in:
Dmitriy Novozhilov
2021-02-11 10:41:07 +03:00
committed by TeamCityServer
parent e795c2c407
commit f3a8fcaea6
80 changed files with 167 additions and 97 deletions
@@ -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