Thread
#multiplatform
    m

    Marc Knaup

    2 years ago
    I have a multi-platform multi-module project. Is there any way to allow other modules of the same project to see each other’s
    internal
    declarations?
    russhwolf

    russhwolf

    2 years ago
    internal
    is by-definition limited to the same module. (That's just a kotlin thing, not MPP-specific)
    You could define a
    @RequiresOptIn
    annotation and use that, if you want. See
    @InternalCoroutinesApi
    in
    kotlinx.coroutines
    for example.
    m

    Marc Knaup

    2 years ago
    Yeah I was thinking about that. Too bad it’s not (easily) possible but good to know for sure
    (I’m using
    @Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    until I’ve refactored it in a proper way 😉)