From a7750c6447230abb409a05bf1686c78632696df4 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Tue, 27 Sep 2022 07:05:36 +0200 Subject: Update Kotlin to 1.7.20-RC (#2682) --- .../kotlin/org/jetbrains/dokka/analysis/AnalysisEnvironment.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'kotlin-analysis/src') diff --git a/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/AnalysisEnvironment.kt b/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/AnalysisEnvironment.kt index 37381b0f..044a4f07 100644 --- a/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/AnalysisEnvironment.kt +++ b/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/AnalysisEnvironment.kt @@ -362,9 +362,11 @@ class AnalysisEnvironment(val messageCollector: MessageCollector, val analysisPl moduleInfo: ModuleInfo ): ResolverForModule = CommonResolverForModuleFactory( - CommonAnalysisParameters { content -> - environment.createPackagePartProvider(content.moduleContentScope) - }, + CommonAnalysisParameters( + metadataPartProviderFactory = { content -> + environment.createPackagePartProvider(content.moduleContentScope) + } + ), CompilerEnvironment, unspecifiedJvmPlatform, true, -- cgit