Skip to content
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

Implement Prism -> Sorbet translation for variable binding in patterns #275

Merged
merged 5 commits into from
Oct 10, 2024

Conversation

amomchilov
Copy link

Closes #130
Related #43, #44, #101, #130

Stacked on top of #274

This PR implements the ability to bind variables inside patterns, including nesting bindings inside Array and Hash patterns.

@amomchilov amomchilov force-pushed the Alex/translate-pattern-vars branch from 2fbe063 to ee10af4 Compare October 10, 2024 22:03
@amomchilov amomchilov merged commit 52a9d72 into prism Oct 10, 2024
1 check passed
@amomchilov amomchilov deleted the Alex/translate-pattern-vars branch October 10, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants