summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/unparser/corpus/semantic/literal.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/unparser/corpus/semantic/literal.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/unparser/corpus/semantic/literal.txt')
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/literal.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/prism/snapshots/unparser/corpus/semantic/literal.txt b/test/prism/snapshots/unparser/corpus/semantic/literal.txt
index 5867a9adcc..221be0775c 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/literal.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/literal.txt
@@ -59,6 +59,7 @@
└── @ CallNode (location: (14,0)-(14,10))
├── receiver: ∅
├── call_operator_loc: ∅
+ ├── name: :w
├── message_loc: (14,0)-(14,1) = "w"
├── opening_loc: (14,1)-(14,2) = "("
├── arguments:
@@ -67,6 +68,7 @@
│ │ └── @ CallNode (location: (14,2)-(14,9))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
+ │ │ ├── name: :foo
│ │ ├── message_loc: (14,2)-(14,5) = "foo"
│ │ ├── opening_loc: ∅
│ │ ├── arguments:
@@ -75,20 +77,18 @@
│ │ │ │ └── @ CallNode (location: (14,6)-(14,9))
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
+ │ │ │ │ ├── name: :bar
│ │ │ │ ├── message_loc: (14,6)-(14,9) = "bar"
│ │ │ │ ├── opening_loc: ∅
│ │ │ │ ├── arguments: ∅
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ ├── block: ∅
- │ │ │ │ ├── flags: variable_call
- │ │ │ │ └── name: :bar
+ │ │ │ │ └── flags: variable_call
│ │ │ └── flags: ∅
│ │ ├── closing_loc: ∅
│ │ ├── block: ∅
- │ │ ├── flags: ∅
- │ │ └── name: :foo
+ │ │ └── flags: ∅
│ └── flags: ∅
├── closing_loc: (14,9)-(14,10) = ")"
├── block: ∅
- ├── flags: ∅
- └── name: :w
+ └── flags: ∅