diff options
author | Jemma Issroff <jemmaissroff@gmail.com> | 2023-11-21 15:17:09 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-11-21 22:30:53 +0000 |
commit | 8e80cad9e9f70948c1c2d472b66a94c4151268f4 (patch) | |
tree | 0e161d7614d5d931b4871b25556a1b4f9686321c /test/prism/snapshots/whitequark/bug_473.txt | |
parent | 3db21d2d4c930b6199bd2eba7fa6ab2f017b8a89 (diff) | |
download | ruby-8e80cad9e9f70948c1c2d472b66a94c4151268f4.tar.gz |
[ruby/prism] Add SPLAT flag on ArrayNode indicating if it contains splat element(s)
This commit puts a SPLAT flag on any ArrayNodes which contain
SplatNode elements
https://github.com/ruby/prism/commit/2fc1e7f181
Diffstat (limited to 'test/prism/snapshots/whitequark/bug_473.txt')
-rw-r--r-- | test/prism/snapshots/whitequark/bug_473.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/prism/snapshots/whitequark/bug_473.txt b/test/prism/snapshots/whitequark/bug_473.txt index b1a046eabb..3e5eed805c 100644 --- a/test/prism/snapshots/whitequark/bug_473.txt +++ b/test/prism/snapshots/whitequark/bug_473.txt @@ -22,7 +22,8 @@ │ │ │ │ └── @ ArrayNode (location: (1,5)-(1,7)) │ │ │ │ ├── elements: (length: 0) │ │ │ │ ├── opening_loc: (1,5)-(1,6) = "[" - │ │ │ │ └── closing_loc: (1,6)-(1,7) = "]" + │ │ │ │ ├── closing_loc: (1,6)-(1,7) = "]" + │ │ │ │ └── flags: ∅ │ │ │ └── closing_loc: (1,7)-(1,8) = "}" │ │ └── closing_loc: (1,8)-(1,9) = "\"" │ └── flags: ∅ |