Skip to content

Check subject's module before reporting REDUNDANT_ELSE_IN_WHEN #5468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

freya022
Copy link

Tracking issue: KT-78538

We don't want to report redundant "else" branches
when the subject is from a different module,
as it could represent more values at runtime,
which should be handled by the "else" branch.

^KT-78538 Fixed
@freya022 freya022 requested a review from a team as a code owner June 24, 2025 19:27
@freya022 freya022 requested a review from mglukhikh June 24, 2025 19:27
@mglukhikh mglukhikh requested review from bnorm and removed request for mglukhikh June 25, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants