[FIR] Recursively search dependsOn modules in visibility checks
#KT-59071 Fixed
This commit is contained in:
+6
@@ -22184,6 +22184,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dependsOnModule.kt")
|
||||
public void testDependsOnModule() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multimodule/dependsOnModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("friendModule.kt")
|
||||
public void testFriendModule() throws Exception {
|
||||
|
||||
+6
@@ -22184,6 +22184,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(reversed|fir|ll)\\.kts?$"), true, "multiplatform");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dependsOnModule.kt")
|
||||
public void testDependsOnModule() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multimodule/dependsOnModule.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("friendModule.kt")
|
||||
public void testFriendModule() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user