Skip to content

Fix if_set dropping static part of type - #15379

Merged
josevalim merged 1 commit into
elixir-lang:mainfrom
gldubc:fix-descr-bug
May 14, 2026
Merged

josevalim merged 1 commit into
elixir-lang:mainfrom
gldubc:fix-descr-bug

Conversation

@gldubc

@gldubc gldubc commented May 14, 2026

Copy link
Copy Markdown
Member

Pattern matching in the definition of if_set was dropping the static part. A missed type warning is included to illustrate the issue.

@gldubc
gldubc marked this pull request as ready for review May 14, 2026 17:44
@josevalim josevalim changed the title Fix if_set dropping static part of type. Fix if_set dropping static part of type May 14, 2026
@josevalim
josevalim merged commit 367e38c into elixir-lang:main May 14, 2026
15 checks passed
@josevalim

Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

@gldubc
gldubc deleted the fix-descr-bug branch May 15, 2026 17:05
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.

2 participants