diff options
Diffstat (limited to 'test/yarp/snapshots/whitequark/bug_rescue_empty_else.txt')
-rw-r--r-- | test/yarp/snapshots/whitequark/bug_rescue_empty_else.txt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/yarp/snapshots/whitequark/bug_rescue_empty_else.txt b/test/yarp/snapshots/whitequark/bug_rescue_empty_else.txt index 4e0c0735d9..52734cc1e9 100644 --- a/test/yarp/snapshots/whitequark/bug_rescue_empty_else.txt +++ b/test/yarp/snapshots/whitequark/bug_rescue_empty_else.txt @@ -1,25 +1,25 @@ -@ ProgramNode (location: (0...34)) +@ ProgramNode (location: (1,0)-(1,34)) ├── locals: [] └── statements: - @ StatementsNode (location: (0...34)) + @ StatementsNode (location: (1,0)-(1,34)) └── body: (length: 1) - └── @ BeginNode (location: (0...34)) - ├── begin_keyword_loc: (0...5) = "begin" + └── @ BeginNode (location: (1,0)-(1,34)) + ├── begin_keyword_loc: (1,0)-(1,5) = "begin" ├── statements: ∅ ├── rescue_clause: - │ @ RescueNode (location: (7...23)) - │ ├── keyword_loc: (7...13) = "rescue" + │ @ RescueNode (location: (1,7)-(1,23)) + │ ├── keyword_loc: (1,7)-(1,13) = "rescue" │ ├── exceptions: (length: 1) - │ │ └── @ ConstantReadNode (location: (14...23)) + │ │ └── @ ConstantReadNode (location: (1,14)-(1,23)) │ │ └── name: :LoadError │ ├── operator_loc: ∅ │ ├── reference: ∅ │ ├── statements: ∅ │ └── consequent: ∅ ├── else_clause: - │ @ ElseNode (location: (25...34)) - │ ├── else_keyword_loc: (25...29) = "else" + │ @ ElseNode (location: (1,25)-(1,34)) + │ ├── else_keyword_loc: (1,25)-(1,29) = "else" │ ├── statements: ∅ - │ └── end_keyword_loc: (31...34) = "end" + │ └── end_keyword_loc: (1,31)-(1,34) = "end" ├── ensure_clause: ∅ - └── end_keyword_loc: (31...34) = "end" + └── end_keyword_loc: (1,31)-(1,34) = "end" |