From fe6ee5e92148755b75ffd00ab29611b59a416d5a Mon Sep 17 00:00:00 2001 From: Kevin Newton Date: Wed, 6 Dec 2023 15:32:53 -0500 Subject: [ruby/prism] Move flag position consistently to front https://github.com/ruby/prism/commit/6e69a81737 --- test/prism/snapshots/whitequark/cond_begin_masgn.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/prism/snapshots/whitequark/cond_begin_masgn.txt') diff --git a/test/prism/snapshots/whitequark/cond_begin_masgn.txt b/test/prism/snapshots/whitequark/cond_begin_masgn.txt index a763c7ee8b..93892315ac 100644 --- a/test/prism/snapshots/whitequark/cond_begin_masgn.txt +++ b/test/prism/snapshots/whitequark/cond_begin_masgn.txt @@ -11,6 +11,7 @@ │ │ @ StatementsNode (location: (1,4)-(1,19)) │ │ └── body: (length: 2) │ │ ├── @ CallNode (location: (1,4)-(1,7)) + │ │ │ ├── flags: variable_call │ │ │ ├── receiver: ∅ │ │ │ ├── call_operator_loc: ∅ │ │ │ ├── name: :bar @@ -18,8 +19,7 @@ │ │ │ ├── opening_loc: ∅ │ │ │ ├── arguments: ∅ │ │ │ ├── closing_loc: ∅ - │ │ │ ├── block: ∅ - │ │ │ └── flags: variable_call + │ │ │ └── block: ∅ │ │ └── @ MultiWriteNode (location: (1,9)-(1,19)) │ │ ├── lefts: (length: 2) │ │ │ ├── @ LocalVariableTargetNode (location: (1,9)-(1,10)) @@ -35,6 +35,7 @@ │ │ ├── operator_loc: (1,14)-(1,15) = "=" │ │ └── value: │ │ @ CallNode (location: (1,16)-(1,19)) + │ │ ├── flags: variable_call │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ │ │ ├── name: :foo @@ -42,8 +43,7 @@ │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ - │ │ ├── block: ∅ - │ │ └── flags: variable_call + │ │ └── block: ∅ │ ├── opening_loc: (1,3)-(1,4) = "(" │ └── closing_loc: (1,19)-(1,20) = ")" ├── then_keyword_loc: ∅ -- cgit v1.2.3