aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Mishenev <vad-mishenev@yandex.ru>2023-11-15 23:00:53 +0300
committerGitHub <noreply@github.com>2023-11-15 22:00:53 +0200
commit1e126789a92e512b0a426044220043632e7dbf1b (patch)
tree38ecf4144037410006f20ec1a0bf89d847fa980f
parent0fd90a3a3e30e70a856e1d0e8b9f93cd7654f8d2 (diff)
downloaddokka-1e126789a92e512b0a426044220043632e7dbf1b.tar.gz
dokka-1e126789a92e512b0a426044220043632e7dbf1b.tar.bz2
dokka-1e126789a92e512b0a426044220043632e7dbf1b.zip
[K2] Update version of Kotlin Analysis API (#3337)
-rw-r--r--dokka-subprojects/plugin-base/src/test/kotlin/content/exceptions/ContentForExceptions.kt1
-rw-r--r--dokka-subprojects/plugin-base/src/test/kotlin/content/params/ContentForParamsTest.kt1
-rw-r--r--dokka-subprojects/plugin-base/src/test/kotlin/filter/KotlinArrayDocumentableReplacerTest.kt2
-rw-r--r--dokka-subprojects/plugin-base/src/test/kotlin/translators/DefaultDescriptorToDocumentableTranslatorTest.kt2
-rw-r--r--gradle/libs.versions.toml2
5 files changed, 2 insertions, 6 deletions
diff --git a/dokka-subprojects/plugin-base/src/test/kotlin/content/exceptions/ContentForExceptions.kt b/dokka-subprojects/plugin-base/src/test/kotlin/content/exceptions/ContentForExceptions.kt
index 22becb93..e7ecb828 100644
--- a/dokka-subprojects/plugin-base/src/test/kotlin/content/exceptions/ContentForExceptions.kt
+++ b/dokka-subprojects/plugin-base/src/test/kotlin/content/exceptions/ContentForExceptions.kt
@@ -60,7 +60,6 @@ class ContentForExceptions : BaseAbstractTest() {
)
}
- @OnlyDescriptors("Fixed in 1.9.20 (IMPORT STAR)")
@Test
fun `function with navigatable thrown exception`() {
testInline(
diff --git a/dokka-subprojects/plugin-base/src/test/kotlin/content/params/ContentForParamsTest.kt b/dokka-subprojects/plugin-base/src/test/kotlin/content/params/ContentForParamsTest.kt
index d0c6ac9d..6656dc44 100644
--- a/dokka-subprojects/plugin-base/src/test/kotlin/content/params/ContentForParamsTest.kt
+++ b/dokka-subprojects/plugin-base/src/test/kotlin/content/params/ContentForParamsTest.kt
@@ -480,7 +480,6 @@ class ContentForParamsTest : BaseAbstractTest() {
}
}
- @OnlyDescriptors("Fixed in 1.9.20 (IMPORT STAR)")
@Test
fun `multiline kotlin throws with comment`() {
testInline(
diff --git a/dokka-subprojects/plugin-base/src/test/kotlin/filter/KotlinArrayDocumentableReplacerTest.kt b/dokka-subprojects/plugin-base/src/test/kotlin/filter/KotlinArrayDocumentableReplacerTest.kt
index 240982c5..342ff4b3 100644
--- a/dokka-subprojects/plugin-base/src/test/kotlin/filter/KotlinArrayDocumentableReplacerTest.kt
+++ b/dokka-subprojects/plugin-base/src/test/kotlin/filter/KotlinArrayDocumentableReplacerTest.kt
@@ -13,7 +13,6 @@ import org.jetbrains.dokka.model.Invariance
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertNotEquals
-import utils.OnlyDescriptors
class KotlinArrayDocumentableReplacerTest : BaseAbstractTest() {
private val configuration = dokkaConfiguration {
@@ -164,7 +163,6 @@ class KotlinArrayDocumentableReplacerTest : BaseAbstractTest() {
}
}
- @OnlyDescriptors("Fix module.contentScope in new Standalone API") // TODO fix module.contentScope [getKtModuleForKtElement]
@Test
fun `no jvm source set`() {
val configurationWithNoJVM = dokkaConfiguration {
diff --git a/dokka-subprojects/plugin-base/src/test/kotlin/translators/DefaultDescriptorToDocumentableTranslatorTest.kt b/dokka-subprojects/plugin-base/src/test/kotlin/translators/DefaultDescriptorToDocumentableTranslatorTest.kt
index 6812f0b4..c8b72f6f 100644
--- a/dokka-subprojects/plugin-base/src/test/kotlin/translators/DefaultDescriptorToDocumentableTranslatorTest.kt
+++ b/dokka-subprojects/plugin-base/src/test/kotlin/translators/DefaultDescriptorToDocumentableTranslatorTest.kt
@@ -983,7 +983,7 @@ val soapXml = node("soap-env:Envelope", soapAttrs,
}
}
- @OnlyDescriptors("Fix kdoc link") // TODO
+ @OnlyDescriptors("Fix kdoc link in valueOf https://github.com/Kotlin/dokka/issues/3335") // TODO
@Test
fun `should have documentation for synthetic Enum valueOf functions`() {
testInline(
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 0cc09ef9..d20cb945 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -13,7 +13,7 @@ kotlinx-bcv = "0.13.2"
## Analysis
kotlin-compiler = "1.9.20"
-kotlin-compiler-k2 = "2.0.0-dev-5387"
+kotlin-compiler-k2 = "2.0.0-dev-7674"
# MUST match the version of the intellij platform used in the kotlin compiler,
# otherwise this will lead to different versions of psi API and implementations