Skip to content

Compose sources. Remove redundant @OptIn of experimental annotations in the same module #3364

@igordmn

Description

@igordmn

After JetBrains/compose-multiplatform-core#687 it is no longer required.

We should remove it in all sourcesets, except commonMain, androidMain

Example:

// foundation module
@OptIn(ExperimentalFoundationApi::class) // it is no longer needed
class SomeClass


// material module
@OptIn(ExperimentalFoundationApi::class) // still needed (and shouldn't be used to keep backward compatibility)
class SomeClass

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions