Skip to content

[K2] KMP: Classes with expect/actual are missing parameters in signature #3381

@atyrin

Description

@atyrin
// commonMain
expect class InheritMe(param: String)

// platoform
actual class InheritMe(param: String)

The parameters from the primary constructor are visible only in Constructors block. And missed in class signature (comparing to K1)


K1
image

K2
image

Installation

  • Dokka version: 1.9.20

Parent: #3328

Metadata

Metadata

Assignees

Labels

bugtopic: K2Issues / PRs that are related to the K2 migration. See #2888upstream bugAn issue that appears due to an upstream dependency bug, such as kotlin-compiler

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions