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/lasgn_middle_splat.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/seattlerb/lasgn_middle_splat.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/lasgn_middle_splat.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt b/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt index db283c4d07..2c7c91cc5c 100644 --- a/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt +++ b/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt @@ -44,5 +44,6 @@ │ │ ├── flags: variable_call │ │ └── name: :d │ ├── opening_loc: ∅ - │ └── closing_loc: ∅ + │ ├── closing_loc: ∅ + │ └── flags: contains_splat └── operator_loc: (1,2)-(1,3) = "=" |