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

add tests for duplicate variable name check with p_rest #966

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

iliabylich
Copy link
Collaborator

Closes #921.

We already reject duplicate variable in pattern-matching like 0 => [a, *a] and bugs are not back-ported to previous versions of parser, so this PR only includes tests.

@iliabylich iliabylich merged commit e368bb9 into whitequark:master Dec 28, 2023
9 checks passed
@iliabylich iliabylich deleted the add-test-for-bug-19175 branch December 28, 2023 11:13
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.

ruby/ruby@6c0925b
1 participant