aboutsummaryrefslogtreecommitdiff
path: root/kotlin-analysis/src/main
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2022-09-27 07:05:36 +0200
committerGitHub <noreply@github.com>2022-09-27 07:05:36 +0200
commita7750c6447230abb409a05bf1686c78632696df4 (patch)
tree9fd7b54bd27d9590046596a2fe6b165e59444567 /kotlin-analysis/src/main
parent86f9559ebd40a07e996df49464fc9101dd21d3bc (diff)
downloaddokka-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')
-rw-r--r--kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/AnalysisEnvironment.kt8
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,