aboutsummaryrefslogtreecommitdiffstats
path: root/prism
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-11-20 17:43:26 +0100
committergit <svn-admin@ruby-lang.org>2023-11-22 12:15:20 +0000
commit018e6abf8509c7de2a8efb49741d594b15f49fbf (patch)
tree73063cfd93412f02dbeb4981eabb73c84160be83 /prism
parentea60bf912caa3ea193b7673b59b0113c1e708609 (diff)
downloadruby-018e6abf8509c7de2a8efb49741d594b15f49fbf.tar.gz
[ruby/prism] Move CallNode#name field between receiver and arguments
* The same order as in source code. * CallOrWriteNode, CallOperatorWriteNode, CallAndWriteNode already have the correct order so it was also inconsistent with them. https://github.com/ruby/prism/commit/4434e4bc22
Diffstat (limited to 'prism')
-rw-r--r--prism/config.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/prism/config.yml b/prism/config.yml
index 845e0ca93b..84e458ed8c 100644
--- a/prism/config.yml
+++ b/prism/config.yml
@@ -677,6 +677,8 @@ nodes:
type: node?
- name: call_operator_loc
type: location?
+ - name: name
+ type: constant
- name: message_loc
type: location?
- name: opening_loc
@@ -691,8 +693,6 @@ nodes:
- name: flags
type: flags
kind: CallNodeFlags
- - name: name
- type: constant
comment: |
Represents a method call, in all of the various forms that can take.