Skip to content

Deprecation warning "expect and corresponding actual are declared in the same module, which will be prohibited in Kotlin 2.0" #57

@fwilhe2

Description

@fwilhe2

I'm getting this deprecation warning in vs code:

Property 'secondElement': expect and corresponding actual are declared in the same module, which will be prohibited in Kotlin 2.0. See https://youtrack.jetbrains.com/issue/KT-55177

Not yet researched how to do it properly in kotlin 1 and 2, but opening this issue because I think this template should not produce warnings by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions