Skip to content

Kotlin's typealias is not handled correctly #2311

@IngoHaumann-TomTom

Description

@IngoHaumann-TomTom

Describe the bug
When adding a typealias type to your project, the following happens:

  • It get recognized as a type and links to it get resolved.
  • All these links have targets that do not exist in the Dokka output.
  • The alias itself cannot be found using Dokka's search.

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

  • Operating system: Linux
  • Build tool: Gradle v7.2
  • Dokka version: 1.5.31

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions