Skip to content

Handle invalid string pattern key#3762

Merged
kddnewton merged 1 commit into
mainfrom
handle-invalid-pattern-key
Nov 29, 2025
Merged

Handle invalid string pattern key#3762
kddnewton merged 1 commit into
mainfrom
handle-invalid-pattern-key

Conversation

@kddnewton

Copy link
Copy Markdown
Collaborator

When a pattern match is using a string as a hash pattern key and is using it incorrectly, we were previously assuming it was a symbol. In the case of an error, that's not the case. So we need to add a missing node in this case.

Fixes #3749

When a pattern match is using a string as a hash pattern key and is
using it incorrectly, we were previously assuming it was a symbol.
In the case of an error, that's not the case. So we need to add a
missing node in this case.
@kddnewton
kddnewton merged commit 7c3815a into main Nov 29, 2025
64 checks passed
@kddnewton
kddnewton deleted the handle-invalid-pattern-key branch November 29, 2025 19:47
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.

Segfault in pm_constant_pool_hash

1 participant