K2: generate implicit dispatch receivers for static members called

#KT-55371 Fixed
#KT-55372 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-01-16 16:59:33 +01:00
committed by Space Team
parent 9cfcf057ef
commit 4167a69e30
17 changed files with 328 additions and 27 deletions
@@ -34614,6 +34614,18 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/visibility/packagePrivateStatic.kt");
}
@Test
@TestMetadata("packagePrivateStaticInterfaceMethod.kt")
public void testPackagePrivateStaticInterfaceMethod() throws Exception {
runTest("compiler/testData/diagnostics/tests/visibility/packagePrivateStaticInterfaceMethod.kt");
}
@Test
@TestMetadata("packagePrivateStaticViaInternal.kt")
public void testPackagePrivateStaticViaInternal() throws Exception {
runTest("compiler/testData/diagnostics/tests/visibility/packagePrivateStaticViaInternal.kt");
}
@Test
@TestMetadata("packagePrivateStaticViaTypeAlias.kt")
public void testPackagePrivateStaticViaTypeAlias() throws Exception {
@@ -34518,6 +34518,18 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/visibility/packagePrivateStatic.kt");
}
@Test
@TestMetadata("packagePrivateStaticInterfaceMethod.kt")
public void testPackagePrivateStaticInterfaceMethod() throws Exception {
runTest("compiler/testData/diagnostics/tests/visibility/packagePrivateStaticInterfaceMethod.kt");
}
@Test
@TestMetadata("packagePrivateStaticViaInternal.kt")
public void testPackagePrivateStaticViaInternal() throws Exception {
runTest("compiler/testData/diagnostics/tests/visibility/packagePrivateStaticViaInternal.kt");
}
@Test
@TestMetadata("packagePrivateStaticViaTypeAlias.kt")
public void testPackagePrivateStaticViaTypeAlias() throws Exception {