Skip to content

Kotlin 2.2.20 Compiler Warning - GeneratedAppGlideModule #5601

@jogwir

Description

@jogwir

Glide Version: 5.0.4

Associated libraries: Kotlin 2.2.20

Issue details:

Kotlin 2.2.20 introduces a new compiler warning for exposed visibility errors whereby a more visible declaration references a less visible declaration in its signature. This warning is present for GeneratedAppGlideModule. For users with projects configured to treat warnings as errors, this is preventing upgrade to Kotlin 2.2.20. This warning will also become an error in Kotlin version 2.4.

Kotlin documentation: https://youtrack.jetbrains.com/issue/KTLC-271

Compilation warning:
kotlin/com/bumptech/glide/GeneratedAppGlideModuleImpl.kt:11:5 'internal' declaration exposes 'public/*package*/' type 'GeneratedAppGlideModule'. This will become an error in language version 2.4. See https://youtrack.jetbrains.com/issue/KTLC-271.

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