Skip to content

Block ampersand association #46

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

Merged
merged 1 commit into from
Apr 13, 2022
Merged

Conversation

kddnewton
Copy link
Member

Fix parsing expressions like foo.instance_exec(&T.must(block)), where there are two args_add_block calls with a single &. Previously it was associating the & with the wrong block.

Fixes #45

Fix parsing expressions like `foo.instance_exec(&T.must(block))`, where there are two `args_add_block` calls with a single `&`. Previously it was associating the `&` with the wrong block.
@kddnewton kddnewton merged commit b0b45cd into main Apr 13, 2022
@kddnewton kddnewton deleted the block-parameter-amperand-association branch April 13, 2022 19:50
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.

Format clears block parameter
1 participant