Skip to content

LS: do not include duplicate cases when adding pattern match on discard#5978

Draft
0xda157 wants to merge 2 commits into
gleam-lang:mainfrom
0xda157:ls-action-pattern-match-duplicate-cases
Draft

LS: do not include duplicate cases when adding pattern match on discard#5978
0xda157 wants to merge 2 commits into
gleam-lang:mainfrom
0xda157:ls-action-pattern-match-duplicate-cases

Conversation

@0xda157

@0xda157 0xda157 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor
  • The changes in this PR have been discussed beforehand in an issue
  • The issue for this PR has been linked
  • Tests have been added for new behaviour
  • The changelog has been updated for any user-facing changes

Fixes #5939

@0xda157 0xda157 changed the title Ls action pattern match duplicate cases LS: do not include duplicate cases when adding pattern match on discard Jul 15, 2026
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.

"Pattern match on value" code action produces unnecessary patterns on discard

1 participant