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/seattlerb/parse_line_dot2.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'test/prism/snapshots/seattlerb/parse_line_dot2.txt') diff --git a/test/prism/snapshots/seattlerb/parse_line_dot2.txt b/test/prism/snapshots/seattlerb/parse_line_dot2.txt index 51276d2107..960369cfa5 100644 --- a/test/prism/snapshots/seattlerb/parse_line_dot2.txt +++ b/test/prism/snapshots/seattlerb/parse_line_dot2.txt @@ -4,17 +4,19 @@ @ StatementsNode (location: (1,0)-(5,1)) └── body: (length: 3) ├── @ RangeNode (location: (1,0)-(2,1)) + │ ├── flags: ∅ │ ├── left: │ │ @ IntegerNode (location: (1,0)-(1,1)) │ │ └── flags: decimal │ ├── right: │ │ @ IntegerNode (location: (2,0)-(2,1)) │ │ └── flags: decimal - │ ├── operator_loc: (1,1)-(1,3) = ".." - │ └── flags: ∅ + │ └── operator_loc: (1,1)-(1,3) = ".." ├── @ RangeNode (location: (3,0)-(4,1)) + │ ├── flags: ∅ │ ├── left: │ │ @ CallNode (location: (3,0)-(3,1)) + │ │ ├── flags: variable_call │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ │ │ ├── name: :a @@ -22,10 +24,10 @@ │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ - │ │ ├── block: ∅ - │ │ └── flags: variable_call + │ │ └── block: ∅ │ ├── right: │ │ @ CallNode (location: (4,0)-(4,1)) + │ │ ├── flags: variable_call │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ │ │ ├── name: :b @@ -33,11 +35,10 @@ │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ - │ │ ├── block: ∅ - │ │ └── flags: variable_call - │ ├── operator_loc: (3,1)-(3,3) = ".." - │ └── flags: ∅ + │ │ └── block: ∅ + │ └── operator_loc: (3,1)-(3,3) = ".." └── @ CallNode (location: (5,0)-(5,1)) + ├── flags: variable_call ├── receiver: ∅ ├── call_operator_loc: ∅ ├── name: :c @@ -45,5 +46,4 @@ ├── opening_loc: ∅ ├── arguments: ∅ ├── closing_loc: ∅ - ├── block: ∅ - └── flags: variable_call + └── block: ∅ -- cgit v1.2.3