diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2022-02-24 23:30:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-24 23:30:22 +0300 |
commit | 8537f0f6fc0d84c0f9918db4f7db9be053d632a8 (patch) | |
tree | 5fcb0d963c9ea4100a8382687e19a5509fc6999c /kotlin-analysis/src/main | |
parent | b9b1b588fad604c0cfc3e481f48338437dcaba5f (diff) | |
download | dokka-8537f0f6fc0d84c0f9918db4f7db9be053d632a8.tar.gz dokka-8537f0f6fc0d84c0f9918db4f7db9be053d632a8.tar.bz2 dokka-8537f0f6fc0d84c0f9918db4f7db9be053d632a8.zip |
Update Kotlin to 1.6.20-M1 (#2375)
Diffstat (limited to 'kotlin-analysis/src/main')
-rw-r--r-- | kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/CoreKotlinCacheService.kt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/CoreKotlinCacheService.kt b/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/CoreKotlinCacheService.kt index d560feff..12cc3351 100644 --- a/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/CoreKotlinCacheService.kt +++ b/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/CoreKotlinCacheService.kt @@ -5,6 +5,7 @@ import org.jetbrains.kotlin.analyzer.ModuleInfo import org.jetbrains.kotlin.caches.resolve.KotlinCacheService import org.jetbrains.kotlin.caches.resolve.PlatformAnalysisSettings import org.jetbrains.kotlin.idea.resolve.ResolutionFacade +import org.jetbrains.kotlin.platform.TargetPlatform import org.jetbrains.kotlin.psi.KtElement import org.jetbrains.kotlin.resolve.diagnostics.KotlinSuppressCache @@ -14,13 +15,6 @@ class CoreKotlinCacheService(private val resolutionFacade: DokkaResolutionFacade return resolutionFacade } - override fun getResolutionFacade( - elements: List<KtElement>, - platform: org.jetbrains.kotlin.platform.TargetPlatform - ): ResolutionFacade { - return resolutionFacade - } - override fun getResolutionFacadeByFile( file: PsiFile, platform: org.jetbrains.kotlin.platform.TargetPlatform @@ -42,6 +36,13 @@ class CoreKotlinCacheService(private val resolutionFacade: DokkaResolutionFacade return resolutionFacade } + override fun getResolutionFacadeWithForcedPlatform( + elements: List<KtElement>, + platform: TargetPlatform + ): ResolutionFacade { + return resolutionFacade + } + override fun getSuppressionCache(): KotlinSuppressCache { throw UnsupportedOperationException() } |