diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/bug_and.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/bug_and.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/bug_and.txt b/test/prism/snapshots/seattlerb/bug_and.txt new file mode 100644 index 0000000000..3daf505e5f --- /dev/null +++ b/test/prism/snapshots/seattlerb/bug_and.txt @@ -0,0 +1,21 @@ +@ ProgramNode (location: (1,0)-(4,11)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(4,11)) + └── body: (length: 2) + ├── @ AndNode (location: (1,0)-(2,4)) + │ ├── left: + │ │ @ TrueNode (location: (1,0)-(1,4)) + │ ├── right: + │ │ @ TrueNode (location: (2,0)-(2,4)) + │ └── operator_loc: (1,5)-(1,8) = "and" + └── @ AndNode (location: (4,0)-(4,11)) + ├── left: + │ @ TrueNode (location: (4,0)-(4,4)) + ├── right: + │ @ ArrayNode (location: (4,9)-(4,11)) + │ ├── flags: ∅ + │ ├── elements: (length: 0) + │ ├── opening_loc: (4,9)-(4,10) = "[" + │ └── closing_loc: (4,10)-(4,11) = "]" + └── operator_loc: (4,5)-(4,8) = "and" |