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

send_node.block_node does not handle numblocks #208

Closed
dvandersluis opened this issue Sep 15, 2021 · 0 comments · Fixed by #209
Closed

send_node.block_node does not handle numblocks #208

dvandersluis opened this issue Sep 15, 2021 · 0 comments · Fixed by #209

Comments

@dvandersluis
Copy link
Member

If a MethodDispatchNode has a block node as its parent, node.block_node returns that parent block node. However, if it's a numblock, node.block_node returns nil.

@dvandersluis dvandersluis changed the title send_node.block_node does not handle numblocks send_node.block_node does not handle numblocks Sep 15, 2021
dvandersluis added a commit to dvandersluis/rubocop-ast that referenced this issue Sep 15, 2021
dvandersluis added a commit to dvandersluis/rubocop-ast that referenced this issue Sep 15, 2021
marcandre pushed a commit that referenced this issue Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant