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/flip2_env_lvar.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/prism/snapshots/seattlerb/flip2_env_lvar.txt') diff --git a/test/prism/snapshots/seattlerb/flip2_env_lvar.txt b/test/prism/snapshots/seattlerb/flip2_env_lvar.txt index 3cd798e41f..fe3592fd0b 100644 --- a/test/prism/snapshots/seattlerb/flip2_env_lvar.txt +++ b/test/prism/snapshots/seattlerb/flip2_env_lvar.txt @@ -7,8 +7,10 @@ ├── if_keyword_loc: (1,0)-(1,2) = "if" ├── predicate: │ @ FlipFlopNode (location: (1,3)-(1,7)) + │ ├── flags: ∅ │ ├── left: │ │ @ CallNode (location: (1,3)-(1,4)) + │ │ ├── flags: variable_call │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ │ │ ├── name: :a @@ -16,10 +18,10 @@ │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ - │ │ ├── block: ∅ - │ │ └── flags: variable_call + │ │ └── block: ∅ │ ├── right: │ │ @ CallNode (location: (1,6)-(1,7)) + │ │ ├── flags: variable_call │ │ ├── receiver: ∅ │ │ ├── call_operator_loc: ∅ │ │ ├── name: :b @@ -27,10 +29,8 @@ │ │ ├── opening_loc: ∅ │ │ ├── arguments: ∅ │ │ ├── closing_loc: ∅ - │ │ ├── block: ∅ - │ │ └── flags: variable_call - │ ├── operator_loc: (1,4)-(1,6) = ".." - │ └── flags: ∅ + │ │ └── block: ∅ + │ └── operator_loc: (1,4)-(1,6) = ".." ├── then_keyword_loc: (1,8)-(1,12) = "then" ├── statements: ∅ ├── consequent: ∅ -- cgit v1.2.3