[FIR] Fix processing constructors of sealed classes
- Allow declaring protected constructors in sealed classes - Make default visibility of sealed class constructor `protected` KT-44861 KT-44865
This commit is contained in:
committed by
TeamCityServer
parent
7c61ddc72b
commit
2d5b685535
@@ -38,7 +38,7 @@ final class TopLevelPrivate /* pkg.TopLevelPrivate*/ {
|
||||
}
|
||||
|
||||
public abstract class Season /* pkg.Season*/ {
|
||||
private Season();// .ctor()
|
||||
protected Season();// .ctor()
|
||||
|
||||
|
||||
class Nested ...
|
||||
@@ -53,8 +53,8 @@ public static final class Nested /* pkg.Season.Nested*/ extends pkg.Season {
|
||||
public abstract class SealedWithArgs /* pkg.SealedWithArgs*/ {
|
||||
private final int a;
|
||||
|
||||
private SealedWithArgs(int);// .ctor(int)
|
||||
protected SealedWithArgs(int);// .ctor(int)
|
||||
|
||||
public final int getA();// getA()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user