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/while_post.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/while_post.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/while_post.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/prism/snapshots/whitequark/while_post.txt b/test/prism/snapshots/whitequark/while_post.txt index e98ffd5a9b..1ddaf4ea31 100644 --- a/test/prism/snapshots/whitequark/while_post.txt +++ b/test/prism/snapshots/whitequark/while_post.txt @@ -10,13 +10,13 @@ │ @ CallNode (location: (1,21)-(1,24)) │ ├── receiver: ∅ │ ├── call_operator_loc: ∅ + │ ├── name: :foo │ ├── message_loc: (1,21)-(1,24) = "foo" │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ │ ├── block: ∅ - │ ├── flags: variable_call - │ └── name: :foo + │ └── flags: variable_call ├── statements: │ @ StatementsNode (location: (1,0)-(1,14)) │ └── body: (length: 1) @@ -28,13 +28,13 @@ │ │ └── @ CallNode (location: (1,6)-(1,10)) │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :meth │ │ ├── message_loc: (1,6)-(1,10) = "meth" │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ │ │ ├── block: ∅ - │ │ ├── flags: variable_call - │ │ └── name: :meth + │ │ └── flags: variable_call │ ├── rescue_clause: ∅ │ ├── else_clause: ∅ │ ├── ensure_clause: ∅ |