2d5b685535
- Allow declaring protected constructors in sealed classes - Make default visibility of sealed class constructor `protected` KT-44861 KT-44865
21 lines
436 B
Plaintext
Vendored
21 lines
436 B
Plaintext
Vendored
public final class Inheritor2 : R|test/SealedClass| {
|
|
public constructor(): R|test/Inheritor2|
|
|
|
|
}
|
|
|
|
public final class Inheritor3 : R|test/SealedClass| {
|
|
public constructor(): R|test/Inheritor3|
|
|
|
|
}
|
|
|
|
public sealed class SealedClass : R|kotlin/Any| {
|
|
public final class Inheritor1 : R|test/SealedClass| {
|
|
public constructor(): R|test/SealedClass.Inheritor1|
|
|
|
|
}
|
|
|
|
protected constructor(): R|test/SealedClass|
|
|
|
|
}
|
|
|