diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2022-09-27 07:05:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-27 07:05:36 +0200 |
commit | a7750c6447230abb409a05bf1686c78632696df4 (patch) | |
tree | 9fd7b54bd27d9590046596a2fe6b165e59444567 /kotlin-analysis/src/main/kotlin/org | |
parent | 86f9559ebd40a07e996df49464fc9101dd21d3bc (diff) | |
download | dokka-a7750c6447230abb409a05bf1686c78632696df4.tar.gz dokka-a7750c6447230abb409a05bf1686c78632696df4.tar.bz2 dokka-a7750c6447230abb409a05bf1686c78632696df4.zip |
Update Kotlin to 1.7.20-RC (#2682)
Diffstat (limited to 'kotlin-analysis/src/main/kotlin/org')
-rw-r--r-- | kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/AnalysisEnvironment.kt | 8 |
1 files changed, 5 insertions, 3 deletions
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, |