aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-12-06 15:32:53 -0500
committergit <svn-admin@ruby-lang.org>2023-12-06 20:50:02 +0000
commitfe6ee5e92148755b75ffd00ab29611b59a416d5a (patch)
tree9283cde10b67c8daec7c56511f58ed9133569377 /test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt
parentcbb941f58a236d95d9e95c3f6dbd4510c04351f0 (diff)
downloadruby-fe6ee5e92148755b75ffd00ab29611b59a416d5a.tar.gz
[ruby/prism] Move flag position consistently to front
https://github.com/ruby/prism/commit/6e69a81737
Diffstat (limited to 'test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt')
-rw-r--r--test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt54
1 files changed, 27 insertions, 27 deletions
diff --git a/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt b/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt
index 4637487196..3283361ac1 100644
--- a/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt
+++ b/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt
@@ -4,6 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
+ ├── flags: ∅
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :tap
@@ -11,31 +12,30 @@
├── opening_loc: ∅
├── arguments:
│ @ ArgumentsNode (location: (1,4)-(1,17))
- │ ├── arguments: (length: 1)
- │ │ └── @ ParenthesesNode (location: (1,4)-(1,17))
- │ │ ├── body:
- │ │ │ @ StatementsNode (location: (1,5)-(1,16))
- │ │ │ └── body: (length: 1)
- │ │ │ └── @ CallNode (location: (1,5)-(1,16))
- │ │ │ ├── receiver: ∅
- │ │ │ ├── call_operator_loc: ∅
- │ │ │ ├── name: :proc
- │ │ │ ├── message_loc: (1,5)-(1,9) = "proc"
- │ │ │ ├── opening_loc: ∅
- │ │ │ ├── arguments: ∅
- │ │ │ ├── closing_loc: ∅
- │ │ │ ├── block:
- │ │ │ │ @ BlockNode (location: (1,10)-(1,16))
- │ │ │ │ ├── locals: []
- │ │ │ │ ├── locals_body_index: 0
- │ │ │ │ ├── parameters: ∅
- │ │ │ │ ├── body: ∅
- │ │ │ │ ├── opening_loc: (1,10)-(1,12) = "do"
- │ │ │ │ └── closing_loc: (1,13)-(1,16) = "end"
- │ │ │ └── flags: ∅
- │ │ ├── opening_loc: (1,4)-(1,5) = "("
- │ │ └── closing_loc: (1,16)-(1,17) = ")"
- │ └── flags: ∅
+ │ ├── flags: ∅
+ │ └── arguments: (length: 1)
+ │ └── @ ParenthesesNode (location: (1,4)-(1,17))
+ │ ├── body:
+ │ │ @ StatementsNode (location: (1,5)-(1,16))
+ │ │ └── body: (length: 1)
+ │ │ └── @ CallNode (location: (1,5)-(1,16))
+ │ │ ├── flags: ∅
+ │ │ ├── receiver: ∅
+ │ │ ├── call_operator_loc: ∅
+ │ │ ├── name: :proc
+ │ │ ├── message_loc: (1,5)-(1,9) = "proc"
+ │ │ ├── opening_loc: ∅
+ │ │ ├── arguments: ∅
+ │ │ ├── closing_loc: ∅
+ │ │ └── block:
+ │ │ @ BlockNode (location: (1,10)-(1,16))
+ │ │ ├── locals: []
+ │ │ ├── locals_body_index: 0
+ │ │ ├── parameters: ∅
+ │ │ ├── body: ∅
+ │ │ ├── opening_loc: (1,10)-(1,12) = "do"
+ │ │ └── closing_loc: (1,13)-(1,16) = "end"
+ │ ├── opening_loc: (1,4)-(1,5) = "("
+ │ └── closing_loc: (1,16)-(1,17) = ")"
├── closing_loc: ∅
- ├── block: ∅
- └── flags: ∅
+ └── block: ∅