aboutsummaryrefslogtreecommitdiffstats
path: root/test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt')
-rw-r--r--test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt76
1 files changed, 38 insertions, 38 deletions
diff --git a/test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt b/test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt
index 08ad0eb2ec..3b5bc5b475 100644
--- a/test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt
+++ b/test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt
@@ -4,6 +4,7 @@
@ StatementsNode (location: (1,0)-(1,33))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,33))
+ ├── flags: ∅
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :bar
@@ -11,42 +12,41 @@
├── opening_loc: ∅
├── arguments:
│ @ ArgumentsNode (location: (1,4)-(1,33))
- │ ├── arguments: (length: 1)
- │ │ └── @ DefNode (location: (1,4)-(1,33))
- │ │ ├── name: :foo
- │ │ ├── name_loc: (1,8)-(1,11) = "foo"
- │ │ ├── receiver: ∅
- │ │ ├── parameters: ∅
- │ │ ├── body:
- │ │ │ @ StatementsNode (location: (1,13)-(1,29))
- │ │ │ └── body: (length: 1)
- │ │ │ └── @ CallNode (location: (1,13)-(1,29))
- │ │ │ ├── receiver:
- │ │ │ │ @ SelfNode (location: (1,13)-(1,17))
- │ │ │ ├── call_operator_loc: (1,17)-(1,18) = "."
- │ │ │ ├── name: :each
- │ │ │ ├── message_loc: (1,18)-(1,22) = "each"
- │ │ │ ├── opening_loc: ∅
- │ │ │ ├── arguments: ∅
- │ │ │ ├── closing_loc: ∅
- │ │ │ ├── block:
- │ │ │ │ @ BlockNode (location: (1,23)-(1,29))
- │ │ │ │ ├── locals: []
- │ │ │ │ ├── locals_body_index: 0
- │ │ │ │ ├── parameters: ∅
- │ │ │ │ ├── body: ∅
- │ │ │ │ ├── opening_loc: (1,23)-(1,25) = "do"
- │ │ │ │ └── closing_loc: (1,26)-(1,29) = "end"
- │ │ │ └── flags: ∅
- │ │ ├── locals: []
- │ │ ├── locals_body_index: 0
- │ │ ├── def_keyword_loc: (1,4)-(1,7) = "def"
- │ │ ├── operator_loc: ∅
- │ │ ├── lparen_loc: ∅
- │ │ ├── rparen_loc: ∅
- │ │ ├── equal_loc: ∅
- │ │ └── end_keyword_loc: (1,30)-(1,33) = "end"
- │ └── flags: ∅
+ │ ├── flags: ∅
+ │ └── arguments: (length: 1)
+ │ └── @ DefNode (location: (1,4)-(1,33))
+ │ ├── name: :foo
+ │ ├── name_loc: (1,8)-(1,11) = "foo"
+ │ ├── receiver: ∅
+ │ ├── parameters: ∅
+ │ ├── body:
+ │ │ @ StatementsNode (location: (1,13)-(1,29))
+ │ │ └── body: (length: 1)
+ │ │ └── @ CallNode (location: (1,13)-(1,29))
+ │ │ ├── flags: ∅
+ │ │ ├── receiver:
+ │ │ │ @ SelfNode (location: (1,13)-(1,17))
+ │ │ ├── call_operator_loc: (1,17)-(1,18) = "."
+ │ │ ├── name: :each
+ │ │ ├── message_loc: (1,18)-(1,22) = "each"
+ │ │ ├── opening_loc: ∅
+ │ │ ├── arguments: ∅
+ │ │ ├── closing_loc: ∅
+ │ │ └── block:
+ │ │ @ BlockNode (location: (1,23)-(1,29))
+ │ │ ├── locals: []
+ │ │ ├── locals_body_index: 0
+ │ │ ├── parameters: ∅
+ │ │ ├── body: ∅
+ │ │ ├── opening_loc: (1,23)-(1,25) = "do"
+ │ │ └── closing_loc: (1,26)-(1,29) = "end"
+ │ ├── locals: []
+ │ ├── locals_body_index: 0
+ │ ├── def_keyword_loc: (1,4)-(1,7) = "def"
+ │ ├── operator_loc: ∅
+ │ ├── lparen_loc: ∅
+ │ ├── rparen_loc: ∅
+ │ ├── equal_loc: ∅
+ │ └── end_keyword_loc: (1,30)-(1,33) = "end"
├── closing_loc: ∅
- ├── block: ∅
- └── flags: ∅
+ └── block: ∅