Skip to content

[K2] Enum entry methods are not rendered #3336

@atyrin

Description

@atyrin
enum class EnumKotlinWithMethod {
    WAITING,

    TALKING {
        fun entryOnly() = WAITING
    };
}

In K1, the function entryOnly() is present in the function list of the entry. In K2, it missed.
But it might be by design for K2 since the function is unusable outside of the entry body.

Installation

  • Dokka version: 1.9.20

Parent: #3328

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtopic: K2Issues / PRs that are related to the K2 migration. See #2888

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions