Skip to content

Rename the BecomesUnreachable problems - #988

Merged
lrytz merged 1 commit into
scala-garden:mainfrom
lrytz:problem-rename
Sep 18, 2026
Merged

lrytz merged 1 commit into
scala-garden:mainfrom
lrytz:problem-rename

Conversation

@lrytz

@lrytz lrytz commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

A definition narrowed to private[foo], and a hierarchy sealed shut, stay public in bytecode, so nothing becomes unreachable. What changes is that MiMa stops checking them, which is what the report and mimaBinaryApi are about.

They are now ClassNoLongerCheckedProblem, MethodNoLongerCheckedProblem and HierarchyNoLongerCheckedProblem. None of the three was in a release.

A definition narrowed to private[foo], and a hierarchy sealed shut, stay public in
bytecode, so nothing becomes unreachable. What changes is that MiMa stops checking them,
which is what the report and mimaBinaryApi are about.

They are now ClassNoLongerCheckedProblem, MethodNoLongerCheckedProblem and
HierarchyNoLongerCheckedProblem. None of the three was in a release.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@lrytz
lrytz merged commit 05baffc into scala-garden:main Sep 18, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant