-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotlin's typealias is not handled correctly #2311
Comments
Hi! Thanks for the report Testing it out on 1.6.10, I can see that the typealias definition itself indeed cannot be found using search, although it does find signatures where it is used I want to clarify what exactly you mean by
If I click on |
What I mean is that Dokka finds the instances and makes them clickable, but the targets of those links do not exist; like they are not generated. We have updating to 1.6 on our backlog, as we've noticed it's not just a matter of updating the version number. |
In 1.6.21, this issue still exists. You can come across it while clicking around, and it will end up on the typealias definition, but the high level search still cannot point you directly to that definition; only its usages. Since a typealias is a first-class citizen of Kotlin, it is expected to show up in search results directly. |
In Dokka 1.9.0 typealiases will have their own separate pages, so they will be clickable. Also, the search of typealises will be fixed. |
Describe the bug
When adding a
typealias
type to your project, the following happens:Expected behaviour
A
typealias
is a Kotlin language feature and should be resolvable.To Reproduce
Add a
public typealias BrokenType = SomeOtherGenericType<argument>
to the Dokka input.Dokka configuration
Irrelevant.
Installation
The text was updated successfully, but these errors were encountered: