From 27f13fabc64dbc278e539542613088edd88a400b Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 28 Nov 2024 22:53:41 +0900 Subject: [PATCH] Add document AliasMethodNode 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..572e4cbb36 100644 --- a/config.yml +++ b/config.yml @@ -855,6 +855,11 @@ nodes: ^^^^^^^^^ - name: keyword_loc type: location + comment: | + Represents the location of the `alias` keyword. + + alias foo bar + ^^^^^ comment: | Represents the use of the `alias` keyword to alias a method.