summaryrefslogtreecommitdiff
path: root/test/prism/snapshots/whitequark/parser_bug_525.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/whitequark/parser_bug_525.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/whitequark/parser_bug_525.txt')
-rw-r--r--test/prism/snapshots/whitequark/parser_bug_525.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/prism/snapshots/whitequark/parser_bug_525.txt b/test/prism/snapshots/whitequark/parser_bug_525.txt
index 1357541d03..f875dc8116 100644
--- a/test/prism/snapshots/whitequark/parser_bug_525.txt
+++ b/test/prism/snapshots/whitequark/parser_bug_525.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,32))
├── receiver: ∅
├── call_operator_loc: ∅
+ ├── name: :m1
├── message_loc: (1,0)-(1,2) = "m1"
├── opening_loc: ∅
├── arguments:
@@ -24,13 +25,13 @@
│ │ │ @ CallNode (location: (1,9)-(1,11))
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
+ │ │ │ ├── name: :m2
│ │ │ ├── message_loc: (1,9)-(1,11) = "m2"
│ │ │ ├── opening_loc: ∅
│ │ │ ├── arguments: ∅
│ │ │ ├── closing_loc: ∅
│ │ │ ├── block: ∅
- │ │ │ ├── flags: variable_call
- │ │ │ └── name: :m2
+ │ │ │ └── flags: variable_call
│ │ └── operator_loc: (1,6)-(1,8) = "=>"
│ └── flags: ∅
├── closing_loc: ∅
@@ -44,6 +45,7 @@
│ │ └── @ CallNode (location: (1,16)-(1,27))
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
+ │ │ ├── name: :m3
│ │ ├── message_loc: (1,16)-(1,18) = "m3"
│ │ ├── opening_loc: (1,18)-(1,19) = "("
│ │ ├── arguments: ∅
@@ -55,9 +57,7 @@
│ │ │ ├── body: ∅
│ │ │ ├── opening_loc: (1,21)-(1,23) = "do"
│ │ │ └── closing_loc: (1,24)-(1,27) = "end"
- │ │ ├── flags: ∅
- │ │ └── name: :m3
+ │ │ └── flags: ∅
│ ├── opening_loc: (1,12)-(1,14) = "do"
│ └── closing_loc: (1,29)-(1,32) = "end"
- ├── flags: ∅
- └── name: :m1
+ └── flags: ∅