[FE] Assume that effective visibility of sealed class constructor is internal
#KT-45033 Fixed #KT-45043
This commit is contained in:
committed by
TeamCityServer
parent
b08eb6cf4c
commit
88c43e7f7b
+12
@@ -24313,6 +24313,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/sealed/inheritorInDifferentModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("internalTypeInConstructor.kt")
|
||||
public void testInternalTypeInConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/sealed/internalTypeInConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt44316.kt")
|
||||
public void testKt44316() throws Exception {
|
||||
@@ -24433,6 +24439,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/tests/sealed/OperationWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateTypeInConstructor.kt")
|
||||
public void testPrivateTypeInConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/sealed/privateTypeInConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("protectedConstructors_disabled.kt")
|
||||
public void testProtectedConstructors_disabled() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user