diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt b/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt new file mode 100644 index 0000000000..33016f32f8 --- /dev/null +++ b/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt @@ -0,0 +1,26 @@ +@ ProgramNode (location: (1,0)-(1,18)) +├── locals: [:a] +└── statements: + @ StatementsNode (location: (1,0)-(1,18)) + └── body: (length: 1) + └── @ LocalVariableOrWriteNode (location: (1,0)-(1,18)) + ├── name_loc: (1,0)-(1,1) = "a" + ├── operator_loc: (1,2)-(1,5) = "||=" + ├── value: + │ @ RescueModifierNode (location: (1,6)-(1,18)) + │ ├── expression: + │ │ @ CallNode (location: (1,6)-(1,7)) + │ │ ├── flags: variable_call, ignore_visibility + │ │ ├── receiver: ∅ + │ │ ├── call_operator_loc: ∅ + │ │ ├── name: :b + │ │ ├── message_loc: (1,6)-(1,7) = "b" + │ │ ├── opening_loc: ∅ + │ │ ├── arguments: ∅ + │ │ ├── closing_loc: ∅ + │ │ └── block: ∅ + │ ├── keyword_loc: (1,8)-(1,14) = "rescue" + │ └── rescue_expression: + │ @ NilNode (location: (1,15)-(1,18)) + ├── name: :a + └── depth: 0 |