diff options
author | Kevin Newton <[email protected]> | 2025-03-13 13:59:45 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2025-03-18 13:36:53 -0400 |
commit | dc48c1aca347f43ef9cb122342c80d699c5860fa (patch) | |
tree | 24395bd504610931f9abababa683a334f5a57178 /lib | |
parent | e3c846463092da8a7533740f9960fd626c749305 (diff) |
[ruby/prism] Add a multiple statements flag to parentheses
This can get triggered even if the list of statements only contains
a single statement. This is necessary to properly support compiling
```ruby
defined? (;a)
defined? (a;)
```
as "expression". Previously these were parsed as statements lists
with single statements in them.
https://github.com/ruby/prism/commit/b63b5d67a9
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions