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/seattlerb/case_in_86_2.txt | |
parent | 3db21d2d4c930b6199bd2eba7fa6ab2f017b8a89 (diff) |
[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/seattlerb/case_in_86_2.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/case_in_86_2.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/prism/snapshots/seattlerb/case_in_86_2.txt b/test/prism/snapshots/seattlerb/case_in_86_2.txt index c2b320dfad..58c154f46c 100644 --- a/test/prism/snapshots/seattlerb/case_in_86_2.txt +++ b/test/prism/snapshots/seattlerb/case_in_86_2.txt @@ -18,7 +18,8 @@ │ │ ├── closing_loc: ∅ │ │ └── unescaped: "b" │ ├── opening_loc: (1,5)-(1,6) = "[" - │ └── closing_loc: (1,12)-(1,13) = "]" + │ ├── closing_loc: (1,12)-(1,13) = "]" + │ └── flags: ∅ ├── conditions: (length: 1) │ └── @ InNode (location: (2,0)-(2,25)) │ ├── pattern: |