aboutsummaryrefslogtreecommitdiff
path: root/kotlin-analysis/src
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-07-22 14:27:55 +0200
committerGitHub <noreply@github.com>2021-07-22 14:27:55 +0200
commitb6dce5370b0c90932127499a903453b199e69c5a (patch)
tree3ab1839f794b574f7a97edbc80eb52b64b4cef67 /kotlin-analysis/src
parent4f701027ac0a5de6c52fb6285edf79752c84ad0e (diff)
downloaddokka-b6dce5370b0c90932127499a903453b199e69c5a.tar.gz
dokka-b6dce5370b0c90932127499a903453b199e69c5a.tar.bz2
dokka-b6dce5370b0c90932127499a903453b199e69c5a.zip
Bump kotlin 1.5.21 (#2031)
* bump kotlin to 1.5.21 * Bump binary compatibility plugin * update stdlib submodule * Bump IJ to 202.8194.7
Diffstat (limited to 'kotlin-analysis/src')
-rw-r--r--kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/AnalysisEnvironment.kt13
1 files changed, 9 insertions, 4 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 30f1f1fb..72b29002 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
@@ -69,6 +69,7 @@ import org.jetbrains.kotlin.platform.jvm.JvmPlatforms
import org.jetbrains.kotlin.platform.jvm.JvmPlatforms.unspecifiedJvmPlatform
import org.jetbrains.kotlin.platform.konan.NativePlatforms
import org.jetbrains.kotlin.psi.KtFile
+import org.jetbrains.kotlin.resolve.CliSealedClassInheritorsProvider
import org.jetbrains.kotlin.resolve.CompilerEnvironment
import org.jetbrains.kotlin.resolve.PlatformDependentAnalyzerServices
import org.jetbrains.kotlin.resolve.jvm.JvmPlatformParameters
@@ -364,7 +365,8 @@ class AnalysisEnvironment(val messageCollector: MessageCollector, val analysisPl
projectContext.withModule(descriptor),
modulesContent(moduleInfo),
this,
- LanguageVersionSettingsImpl.DEFAULT
+ LanguageVersionSettingsImpl.DEFAULT,
+ CliSealedClassInheritorsProvider,
)
override fun sdkDependency(module: ModuleInfo): ModuleInfo? = null
@@ -392,7 +394,8 @@ class AnalysisEnvironment(val messageCollector: MessageCollector, val analysisPl
projectContext.withModule(descriptor),
modulesContent(moduleInfo),
this,
- LanguageVersionSettingsImpl.DEFAULT
+ LanguageVersionSettingsImpl.DEFAULT,
+ CliSealedClassInheritorsProvider,
)
override fun builtInsForModule(module: ModuleInfo): KotlinBuiltIns = DefaultBuiltIns.Instance
@@ -422,7 +425,8 @@ class AnalysisEnvironment(val messageCollector: MessageCollector, val analysisPl
projectContext.withModule(descriptor),
modulesContent(moduleInfo),
this,
- LanguageVersionSettingsImpl.DEFAULT
+ LanguageVersionSettingsImpl.DEFAULT,
+ CliSealedClassInheritorsProvider,
)
}
@@ -491,7 +495,8 @@ class AnalysisEnvironment(val messageCollector: MessageCollector, val analysisPl
projectContext.withModule(descriptor),
modulesContent(moduleInfo),
this,
- LanguageVersionSettingsImpl.DEFAULT
+ LanguageVersionSettingsImpl.DEFAULT,
+ CliSealedClassInheritorsProvider,
)
override fun sdkDependency(module: ModuleInfo): ModuleInfo? = null