diff options
Diffstat (limited to 'test/prism/snapshots/seattlerb/bug_hash_interp_array.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/bug_hash_interp_array.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/bug_hash_interp_array.txt b/test/prism/snapshots/seattlerb/bug_hash_interp_array.txt new file mode 100644 index 0000000000..433fb02411 --- /dev/null +++ b/test/prism/snapshots/seattlerb/bug_hash_interp_array.txt @@ -0,0 +1,26 @@ +@ ProgramNode (location: (1,0)-(1,13)) +├── locals: [] +└── statements: + @ StatementsNode (location: (1,0)-(1,13)) + └── body: (length: 1) + └── @ HashNode (location: (1,0)-(1,13)) + ├── opening_loc: (1,0)-(1,1) = "{" + ├── elements: (length: 1) + │ └── @ AssocNode (location: (1,2)-(1,11)) + │ ├── key: + │ │ @ InterpolatedSymbolNode (location: (1,2)-(1,8)) + │ │ ├── opening_loc: (1,2)-(1,3) = "\"" + │ │ ├── parts: (length: 1) + │ │ │ └── @ EmbeddedStatementsNode (location: (1,3)-(1,6)) + │ │ │ ├── opening_loc: (1,3)-(1,5) = "\#{" + │ │ │ ├── statements: ∅ + │ │ │ └── closing_loc: (1,5)-(1,6) = "}" + │ │ └── closing_loc: (1,6)-(1,8) = "\":" + │ ├── value: + │ │ @ ArrayNode (location: (1,9)-(1,11)) + │ │ ├── flags: ∅ + │ │ ├── elements: (length: 0) + │ │ ├── opening_loc: (1,9)-(1,10) = "[" + │ │ └── closing_loc: (1,10)-(1,11) = "]" + │ └── operator_loc: ∅ + └── closing_loc: (1,12)-(1,13) = "}" |