Skip to content

Match command_call/arg#4142

Merged
kddnewton merged 1 commit into
mainfrom
command-call-arg
Jun 22, 2026
Merged

Match command_call/arg#4142
kddnewton merged 1 commit into
mainfrom
command-call-arg

Conversation

@kddnewton

Copy link
Copy Markdown
Collaborator

A couple more deviations from the parse.y grammar with the command_call and arg productions.

  • pm_block_call_p — allow parens on chain links (meth 1 do end.fun(x))
  • pm_command_call_value_p — recognize const-path brace commands (Foo::Bar { })
  • super with do/end as a block_call (chaining: super 1 do end.baz)
  • foo(Foo::Bar { } => v)

A couple more deviations from the parse.y grammar with the
command_call and arg productions.

* pm_block_call_p — allow parens on chain links (meth 1 do end.fun(x))
* pm_command_call_value_p — recognize const-path brace commands (Foo::Bar { })
* super with do/end as a block_call (chaining: super 1 do end.baz)
* foo(Foo::Bar { } => v)
@kddnewton kddnewton merged commit 2c2a463 into main Jun 22, 2026
69 checks passed
@kddnewton kddnewton deleted the command-call-arg branch June 22, 2026 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.

1 participant