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/rescue_ensure.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/prism/snapshots/whitequark/rescue_ensure.txt') diff --git a/test/prism/snapshots/whitequark/rescue_ensure.txt b/test/prism/snapshots/whitequark/rescue_ensure.txt index ad40656486..567b283128 100644 --- a/test/prism/snapshots/whitequark/rescue_ensure.txt +++ b/test/prism/snapshots/whitequark/rescue_ensure.txt @@ -9,6 +9,7 @@ │ @ StatementsNode (location: (1,7)-(1,11)) │ └── body: (length: 1) │ └── @ CallNode (location: (1,7)-(1,11)) + │ ├── flags: variable_call │ ├── receiver: ∅ │ ├── call_operator_loc: ∅ │ ├── name: :meth @@ -16,8 +17,7 @@ │ ├── opening_loc: ∅ │ ├── arguments: ∅ │ ├── closing_loc: ∅ - │ ├── block: ∅ - │ └── flags: variable_call + │ └── block: ∅ ├── rescue_clause: │ @ RescueNode (location: (1,13)-(1,24)) │ ├── keyword_loc: (1,13)-(1,19) = "rescue" @@ -28,6 +28,7 @@ │ │ @ StatementsNode (location: (1,21)-(1,24)) │ │ └── body: (length: 1) │ │ └── @ CallNode (location: (1,21)-(1,24)) + │ │ ├── flags: variable_call │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ │ │ ├── name: :baz @@ -35,8 +36,7 @@ │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ - │ │ ├── block: ∅ - │ │ └── flags: variable_call + │ │ └── block: ∅ │ └── consequent: ∅ ├── else_clause: ∅ ├── ensure_clause: @@ -46,6 +46,7 @@ │ │ @ StatementsNode (location: (1,34)-(1,37)) │ │ └── body: (length: 1) │ │ └── @ CallNode (location: (1,34)-(1,37)) + │ │ ├── flags: variable_call │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ │ │ ├── name: :bar @@ -53,7 +54,6 @@ │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ - │ │ ├── block: ∅ - │ │ └── flags: variable_call + │ │ └── block: ∅ │ └── end_keyword_loc: (1,39)-(1,42) = "end" └── end_keyword_loc: (1,39)-(1,42) = "end" -- cgit v1.2.3