[FIR] Ensure KT-62814 is not reproducible
^KT-62814 Obsolete
This commit is contained in:
committed by
Space Team
parent
8cc9272018
commit
502b422b6b
+6
@@ -225,6 +225,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/compilerCrashParameterType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsPrivateFunctions.kt")
|
||||
public void testConflictingOverloadsPrivateFunctions() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/conflictingOverloadsPrivateFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Constants.kt")
|
||||
public void testConstants() throws Exception {
|
||||
|
||||
+6
@@ -225,6 +225,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/compilerCrashParameterType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsPrivateFunctions.kt")
|
||||
public void testConflictingOverloadsPrivateFunctions() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/conflictingOverloadsPrivateFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Constants.kt")
|
||||
public void testConstants() throws Exception {
|
||||
|
||||
+6
@@ -225,6 +225,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/compilerCrashParameterType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsPrivateFunctions.kt")
|
||||
public void testConflictingOverloadsPrivateFunctions() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/conflictingOverloadsPrivateFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Constants.kt")
|
||||
public void testConstants() throws Exception {
|
||||
|
||||
+6
@@ -225,6 +225,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/compilerCrashParameterType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsPrivateFunctions.kt")
|
||||
public void testConflictingOverloadsPrivateFunctions() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/conflictingOverloadsPrivateFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Constants.kt")
|
||||
public void testConstants() throws Exception {
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-62814
|
||||
|
||||
class K2DuplicatesOkayBug {
|
||||
<!CONFLICTING_OVERLOADS!>private fun startBackgroundSync()<!> {
|
||||
//todo
|
||||
}
|
||||
<!CONFLICTING_OVERLOADS!>private fun startBackgroundSync()<!> {
|
||||
//todo
|
||||
}
|
||||
}
|
||||
Generated
+6
@@ -225,6 +225,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
runTest("compiler/testData/diagnostics/tests/compilerCrashParameterType.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("conflictingOverloadsPrivateFunctions.kt")
|
||||
public void testConflictingOverloadsPrivateFunctions() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/conflictingOverloadsPrivateFunctions.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("Constants.kt")
|
||||
public void testConstants() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user