bumptech / bumptech/glide

Kotlin 2.2.20 Compiler Warning - GeneratedAppGlideModule

Open
#5,601 7 comments 6 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

**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.```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.