diff --git a/compiler/fir/entrypoint/src/org/jetbrains/kotlin/fir/DependencyListForCliModule.kt b/compiler/fir/entrypoint/src/org/jetbrains/kotlin/fir/DependencyListForCliModule.kt index ee2e8206ada..35d2f81f666 100644 --- a/compiler/fir/entrypoint/src/org/jetbrains/kotlin/fir/DependencyListForCliModule.kt +++ b/compiler/fir/entrypoint/src/org/jetbrains/kotlin/fir/DependencyListForCliModule.kt @@ -90,10 +90,15 @@ class DependencyListForCliModule( filtersMap.getValue(binaryModuleData.dependsOn) += paths } + + // Potentially, a part of a public API, so we leave it even while it's unused + @Suppress("unused") fun sourceFriendsDependencies(modules: Collection) { allFriendsDependencies += modules } + // Potentially, a part of a public API, so we leave it even while it's unused + @Suppress("unused") fun sourceDependsOnDependencies(modules: Collection) { allDependsOnDependencies += modules }