diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2025-11-18 09:33:55 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-11-23 18:15:15 +0000 |
| commit | 2870b7d7df30bc227f40a4c04c97050b90f1f25b (patch) | |
| tree | 35efe4d25c6736cfd0dd93bb432ea8ac8f2ed96b /include/ruby/internal/core/rarray.h | |
| parent | 190b017fc6c21ff7b61c2b5ece0294785e4a4ca2 (diff) | |
[ruby/prism] Reject `p(p a, &block => value)` and similar
They were being parsed as `p((p a, &block) => value)`.
When we get to this point, we must not just have parsed a command call, always consuming the `=>` is not correct.
Closes [Bug #21622]
https://github.com/ruby/prism/commit/796ab0edf4
Diffstat (limited to 'include/ruby/internal/core/rarray.h')
0 files changed, 0 insertions, 0 deletions
