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/whitequark/endless_comparison_method.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/whitequark/endless_comparison_method.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/endless_comparison_method.txt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/prism/snapshots/whitequark/endless_comparison_method.txt b/test/prism/snapshots/whitequark/endless_comparison_method.txt index 5d6b5a1afa..9e6dd4e0a0 100644 --- a/test/prism/snapshots/whitequark/endless_comparison_method.txt +++ b/test/prism/snapshots/whitequark/endless_comparison_method.txt @@ -24,13 +24,13 @@ │ │ └── @ CallNode (location: (1,16)-(1,28)) │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :do_something │ │ ├── message_loc: (1,16)-(1,28) = "do_something" │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: variable_call - │ │ └── name: :do_something + │ │ └── flags: variable_call │ ├── locals: [:other] │ ├── def_keyword_loc: (1,0)-(1,3) = "def" │ ├── operator_loc: ∅ @@ -59,13 +59,13 @@ │ │ └── @ CallNode (location: (3,16)-(3,28)) │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :do_something │ │ ├── message_loc: (3,16)-(3,28) = "do_something" │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: variable_call - │ │ └── name: :do_something + │ │ └── flags: variable_call │ ├── locals: [:other] │ ├── def_keyword_loc: (3,0)-(3,3) = "def" │ ├── operator_loc: ∅ @@ -94,13 +94,13 @@ │ │ └── @ CallNode (location: (5,16)-(5,28)) │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :do_something │ │ ├── message_loc: (5,16)-(5,28) = "do_something" │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: variable_call - │ │ └── name: :do_something + │ │ └── flags: variable_call │ ├── locals: [:other] │ ├── def_keyword_loc: (5,0)-(5,3) = "def" │ ├── operator_loc: ∅ @@ -129,13 +129,13 @@ │ │ └── @ CallNode (location: (7,16)-(7,28)) │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :do_something │ │ ├── message_loc: (7,16)-(7,28) = "do_something" │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: variable_call - │ │ └── name: :do_something + │ │ └── flags: variable_call │ ├── locals: [:other] │ ├── def_keyword_loc: (7,0)-(7,3) = "def" │ ├── operator_loc: ∅ @@ -164,13 +164,13 @@ │ │ └── @ CallNode (location: (9,17)-(9,29)) │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :do_something │ │ ├── message_loc: (9,17)-(9,29) = "do_something" │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: variable_call - │ │ └── name: :do_something + │ │ └── flags: variable_call │ ├── locals: [:other] │ ├── def_keyword_loc: (9,0)-(9,3) = "def" │ ├── operator_loc: ∅ @@ -199,13 +199,13 @@ │ └── @ CallNode (location: (11,16)-(11,28)) │ ├── receiver: ∅ │ ├── call_operator_loc: ∅ + │ ├── name: :do_something │ ├── message_loc: (11,16)-(11,28) = "do_something" │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: variable_call - │ └── name: :do_something + │ └── flags: variable_call ├── locals: [:other] ├── def_keyword_loc: (11,0)-(11,3) = "def" ├── operator_loc: ∅ |