From 8353be1dfe9e1afdf2ac1e39d309ba389c021abe Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 28 Nov 2024 23:08:35 +0900 Subject: [PATCH] Add document BlockLocalVariableNode fields Partially fixes: https://github.com/ruby/prism/issues/2123 --- config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.yml b/config.yml index 0f50f30b94..5b72024863 100644 --- a/config.yml +++ b/config.yml @@ -1123,6 +1123,11 @@ nodes: fields: - name: name type: constant + comment: | + The name of the block local variable. + + a { |; b| } # name `:b` + ^ comment: | Represents a block local variable.