diff options
author | Benoit Daloze <eregontp@gmail.com> | 2023-11-20 17:43:26 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-11-22 12:15:20 +0000 |
commit | 018e6abf8509c7de2a8efb49741d594b15f49fbf (patch) | |
tree | 73063cfd93412f02dbeb4981eabb73c84160be83 /test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt | |
parent | ea60bf912caa3ea193b7673b59b0113c1e708609 (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/messy_op_asgn_lineno.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt b/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt index c2c5f268d8..92b636949f 100644 --- a/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt +++ b/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt @@ -6,6 +6,7 @@ └── @ CallNode (location: (1,0)-(1,15)) ├── receiver: ∅ ├── call_operator_loc: ∅ + ├── name: :a ├── message_loc: (1,0)-(1,1) = "a" ├── opening_loc: ∅ ├── arguments: @@ -30,6 +31,7 @@ │ │ │ │ @ CallNode (location: (1,11)-(1,14)) │ │ │ │ ├── receiver: ∅ │ │ │ │ ├── call_operator_loc: ∅ + │ │ │ │ ├── name: :d │ │ │ │ ├── message_loc: (1,11)-(1,12) = "d" │ │ │ │ ├── opening_loc: ∅ │ │ │ │ ├── arguments: @@ -38,23 +40,21 @@ │ │ │ │ │ │ └── @ CallNode (location: (1,13)-(1,14)) │ │ │ │ │ │ ├── receiver: ∅ │ │ │ │ │ │ ├── call_operator_loc: ∅ + │ │ │ │ │ │ ├── name: :e │ │ │ │ │ │ ├── message_loc: (1,13)-(1,14) = "e" │ │ │ │ │ │ ├── opening_loc: ∅ │ │ │ │ │ │ ├── arguments: ∅ │ │ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ │ │ ├── block: ∅ - │ │ │ │ │ │ ├── flags: variable_call - │ │ │ │ │ │ └── name: :e + │ │ │ │ │ │ └── flags: variable_call │ │ │ │ │ └── flags: ∅ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ ├── block: ∅ - │ │ │ │ ├── flags: ∅ - │ │ │ │ └── name: :d + │ │ │ │ └── flags: ∅ │ │ │ └── operator: :* │ │ ├── opening_loc: (1,2)-(1,3) = "(" │ │ └── closing_loc: (1,14)-(1,15) = ")" │ └── flags: ∅ ├── closing_loc: ∅ ├── block: ∅ - ├── flags: ∅ - └── name: :a + └── flags: ∅ |