From 9a966a09cb553991b33a642a5583c821ac99dcc5 Mon Sep 17 00:00:00 2001 From: Daniel Insley Date: Thu, 26 Sep 2024 08:18:35 -0700 Subject: [PATCH] [ruby/prism] Fix incorrect reference to AlternationPatternNode as non-void expressions https://github.com/ruby/prism/commit/68de31919e --- prism/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prism/config.yml b/prism/config.yml index 31ce8c2015..f8a6a711b9 100644 --- a/prism/config.yml +++ b/prism/config.yml @@ -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 ^^^