[ruby/prism] Fix incorrect reference to AlternationPatternNode as non-void expressions

https://github.com/ruby/prism/commit/68de31919e
This commit is contained in:
Daniel Insley 2024-09-26 08:18:35 -07:00 коммит произвёл git
Родитель a73d80db41
Коммит 9a966a09cb
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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
^^^