[FIR] Properly reports about conflicts in MPP setup
Checker for conflicting declarations will now check for the following scenarios too - two expect declarations in different modules - actual and non-expect declarations in different modules ^KT-63826 Fixed
This commit is contained in:
committed by
Space Team
parent
2febc807a1
commit
6cfe81de50
+6
@@ -25332,6 +25332,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/optionalExpectationDiagnostics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("platformRedeclarationOfExpect.kt")
|
||||
public void testPlatformRedeclarationOfExpect() {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/platformRedeclarationOfExpect.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateTopLevelDeclarations.kt")
|
||||
public void testPrivateTopLevelDeclarations() {
|
||||
|
||||
+6
@@ -25332,6 +25332,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/optionalExpectationDiagnostics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("platformRedeclarationOfExpect.kt")
|
||||
public void testPlatformRedeclarationOfExpect() {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/platformRedeclarationOfExpect.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("privateTopLevelDeclarations.kt")
|
||||
public void testPrivateTopLevelDeclarations() {
|
||||
|
||||
Reference in New Issue
Block a user