[LL FIR] fix typo in LLFirModuleData.friendDependencies

^KTIJ-23347 Fixed
This commit is contained in:
Artem Vasilev
2023-01-10 17:41:08 +01:00
committed by Space Team
parent 6ab00a65dd
commit 82d934d873
10 changed files with 231 additions and 1 deletions
@@ -44,7 +44,7 @@ class LLFirModuleData(
}
override val friendDependencies: List<FirModuleData> by lazy(LazyThreadSafetyMode.PUBLICATION) {
ktModule.directRefinementDependencies.map(::LLFirModuleData)
ktModule.directFriendDependencies.map(::LLFirModuleData)
}
override val platform: TargetPlatform get() = ktModule.platform
@@ -20836,6 +20836,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multimodule"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
}
@Test
@TestMetadata("friendModule.kt")
public void testFriendModule() throws Exception {
runTest("compiler/testData/diagnostics/tests/multimodule/friendModule.kt");
}
@Test
@TestMetadata("friendModulePrivate.kt")
public void testFriendModulePrivate() throws Exception {
runTest("compiler/testData/diagnostics/tests/multimodule/friendModulePrivate.kt");
}
@Test
@TestMetadata("internal.kt")
public void testInternal() throws Exception {