mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[ruby/prism] Fix incorrect reference to AlternationPatternNode as non-void expressions
68de31919e
This commit is contained in:
parent
a73d80db41
commit
9a966a09cb
1 changed files with 2 additions and 2 deletions
|
@ -864,7 +864,7 @@ nodes:
|
|||
type: node
|
||||
kind: pattern expression
|
||||
comment: |
|
||||
Represents the left side of the expression. It can be any [non-void expression](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
|
||||
Represents the left side of the expression.
|
||||
|
||||
foo => bar | baz
|
||||
^^^
|
||||
|
@ -872,7 +872,7 @@ nodes:
|
|||
type: node
|
||||
kind: pattern expression
|
||||
comment: |
|
||||
Represents the right side of the expression. It can be any [non-void expression](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
|
||||
Represents the right side of the expression.
|
||||
|
||||
foo => bar | baz
|
||||
^^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue