Skip to content

Investigating crash when typing cond#15403

Closed
sabiwara wants to merge 2 commits into
elixir-lang:mainfrom
sabiwara:type-crash-case-cond
Closed

Investigating crash when typing cond#15403
sabiwara wants to merge 2 commits into
elixir-lang:mainfrom
sabiwara:type-crash-case-cond

Conversation

@sabiwara
Copy link
Copy Markdown
Contributor

Not a fix, just a branch to troubleshoot #15402.

It seems the reset of context before checking is causing the variable 1 to be missing?

@josevalim
Copy link
Copy Markdown
Member

@sabiwara thank you, fix incoming!

@sabiwara sabiwara closed this May 19, 2026
josevalim added a commit that referenced this pull request May 19, 2026
When traversing the case for the reverse arrow, if there are
no changes, the case-expr are not re-executed, which meant
variables would not be redefined.

Closes #15402.
Closes #15403.
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