summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt
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 /test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt
parentea60bf912caa3ea193b7673b59b0113c1e708609 (diff)
[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 'test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt')
-rw-r--r--test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt b/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt
index b0a3db1580..ba9ed0d49f 100644
--- a/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt
+++ b/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt
@@ -14,6 +14,7 @@
│ │ └── @ CallNode (location: (2,8)-(2,17))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
+ │ │ ├── name: :g
│ │ ├── message_loc: (2,8)-(2,9) = "g"
│ │ ├── opening_loc: ∅
│ │ ├── arguments:
@@ -32,8 +33,7 @@
│ │ │ └── flags: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
- │ │ ├── flags: ∅
- │ │ └── name: :g
+ │ │ └── flags: ∅
│ ├── locals: []
│ ├── def_keyword_loc: (1,6)-(1,9) = "def"
│ ├── operator_loc: ∅
@@ -52,6 +52,7 @@
│ │ └── @ CallNode (location: (7,8)-(7,16))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
+ │ │ ├── name: :g
│ │ ├── message_loc: (7,8)-(7,9) = "g"
│ │ ├── opening_loc: ∅
│ │ ├── arguments:
@@ -70,8 +71,7 @@
│ │ │ └── flags: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
- │ │ ├── flags: ∅
- │ │ └── name: :g
+ │ │ └── flags: ∅
│ ├── locals: []
│ ├── def_keyword_loc: (6,6)-(6,9) = "def"
│ ├── operator_loc: ∅
@@ -82,6 +82,7 @@
└── @ CallNode (location: (11,0)-(11,9))
├── receiver: ∅
├── call_operator_loc: ∅
+ ├── name: :g
├── message_loc: (11,0)-(11,1) = "g"
├── opening_loc: ∅
├── arguments:
@@ -100,5 +101,4 @@
│ └── flags: ∅
├── closing_loc: ∅
├── block: ∅
- ├── flags: ∅
- └── name: :g
+ └── flags: ∅