diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2023-09-04 17:18:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 17:18:55 +0300 |
commit | e9e8fbf59efc5eefdaef2a432dbdef299a89fde1 (patch) | |
tree | b5fae211d545d7274b75a4b608f9a1cfadba141d /plugins/base/src/test/kotlin/translators | |
parent | 8065a0d974420898fe6142fa792d6dab50f8b1d5 (diff) | |
download | dokka-e9e8fbf59efc5eefdaef2a432dbdef299a89fde1.tar.gz dokka-e9e8fbf59efc5eefdaef2a432dbdef299a89fde1.tar.bz2 dokka-e9e8fbf59efc5eefdaef2a432dbdef299a89fde1.zip |
[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
Diffstat (limited to 'plugins/base/src/test/kotlin/translators')
-rw-r--r-- | plugins/base/src/test/kotlin/translators/ExternalDocumentablesTest.kt | 5 |
1 files changed, 0 insertions, 5 deletions
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 = |