From e9e8fbf59efc5eefdaef2a432dbdef299a89fde1 Mon Sep 17 00:00:00 2001 From: Vadim Mishenev Date: Mon, 4 Sep 2023 17:18:55 +0300 Subject: [K2] Fix functional type and improve logging for unresolved link (#3157) * [K2] Fix functional type and improve logging for unresolved link For example `typealias CompletionHandler = (cause: Throwable?) -> Unit` has a functional type with no type arguments in K2. In K1 we have a usual generic type --- .../base/src/test/kotlin/translators/ExternalDocumentablesTest.kt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'plugins/base/src/test/kotlin/translators/ExternalDocumentablesTest.kt') diff --git a/plugins/base/src/test/kotlin/translators/ExternalDocumentablesTest.kt b/plugins/base/src/test/kotlin/translators/ExternalDocumentablesTest.kt index 198ffe8e..5dd62545 100644 --- a/plugins/base/src/test/kotlin/translators/ExternalDocumentablesTest.kt +++ b/plugins/base/src/test/kotlin/translators/ExternalDocumentablesTest.kt @@ -14,7 +14,6 @@ import org.jetbrains.dokka.plugability.querySingle import org.jetbrains.dokka.utilities.cast import kotlin.test.Test import kotlin.test.assertEquals -import utils.OnlyDescriptors import utils.UsingJDK class ExternalDocumentablesTest : BaseAbstractTest() { @@ -61,10 +60,6 @@ class ExternalDocumentablesTest : BaseAbstractTest() { } } - - // typealias CompletionHandler = (cause: Throwable?) -> Unit - // FunctionalTypeConstructor(dri=kotlinx.coroutines/CompletionHandler///PointingToDeclaration/, projections=[], isExtensionFunction=false, isSuspendable=false, presentableName=null, extra=PropertyContainer(map={})) - @OnlyDescriptors(reason = "FunctionType has not parameters") // TODO @Test fun `external documentable from dependency`() { val coroutinesPath = -- cgit