Skip to content
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

[Multiplatform] Missed actuals implementations for expect declared on the intermediate level #2196

Closed
atyrin opened this issue Oct 20, 2021 · 1 comment
Labels

Comments

@atyrin
Copy link
Contributor

atyrin commented Oct 20, 2021

If in the multiplatform project expect declaration is created on the intermediate level (e.g. sharedNative) actual implementations will be missed in the documentation

Expected behaviour
I expect similar behavior as for declaration in common.

Configuration

    sourceSets {
        val commonMain by getting 
        val commonTest by getting 

        val linuxX64Main by getting
        val macosX64Main by getting

        val nativeMain by creating {
            dependsOn(commonMain)
            linuxX64Main.dependsOn(this)
            macosX64Main.dependsOn(this)
        }
    }
// nativeMain source set
/**
 * expect
 */
expect class SharedNative

// macosX64Main source set
/**
 * actual mac
 */
actual class SharedNative {
}

// linuxX64Main source set
/**
 * actual linux
 */
actual class SharedNative {
}

I see only documentation for expect class
image

If I will move expect declaration to commonMain then everything matched correctly
image

Installation

  • Dokka version: 1.6.0-RC-dev-126
@atyrin atyrin added the bug label Oct 20, 2021
@atyrin
Copy link
Contributor Author

atyrin commented Nov 12, 2024

Fixed by #3875

@atyrin atyrin closed this as completed Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant