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.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/case_in.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/case_in.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/prism/snapshots/seattlerb/case_in.txt b/test/prism/snapshots/seattlerb/case_in.txt index 9db7851e16..ed80ae4f76 100644 --- a/test/prism/snapshots/seattlerb/case_in.txt +++ b/test/prism/snapshots/seattlerb/case_in.txt @@ -57,7 +57,8 @@ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ └── unescaped: "b" │ │ │ ├── opening_loc: (6,3)-(6,6) = "%I[" - │ │ │ └── closing_loc: (6,9)-(6,10) = "]" + │ │ │ ├── closing_loc: (6,9)-(6,10) = "]" + │ │ │ └── flags: ∅ │ │ ├── statements: ∅ │ │ ├── in_loc: (6,0)-(6,2) = "in" │ │ └── then_loc: ∅ @@ -89,7 +90,8 @@ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ └── unescaped: "b" │ │ │ ├── opening_loc: (10,3)-(10,6) = "%W[" - │ │ │ └── closing_loc: (10,9)-(10,10) = "]" + │ │ │ ├── closing_loc: (10,9)-(10,10) = "]" + │ │ │ └── flags: ∅ │ │ ├── statements: ∅ │ │ ├── in_loc: (10,0)-(10,2) = "in" │ │ └── then_loc: ∅ @@ -119,7 +121,8 @@ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ └── unescaped: "b" │ │ │ ├── opening_loc: (14,3)-(14,6) = "%i[" - │ │ │ └── closing_loc: (14,9)-(14,10) = "]" + │ │ │ ├── closing_loc: (14,9)-(14,10) = "]" + │ │ │ └── flags: ∅ │ │ ├── statements: ∅ │ │ ├── in_loc: (14,0)-(14,2) = "in" │ │ └── then_loc: ∅ @@ -151,7 +154,8 @@ │ │ │ │ ├── closing_loc: ∅ │ │ │ │ └── unescaped: "b" │ │ │ ├── opening_loc: (18,3)-(18,6) = "%w[" - │ │ │ └── closing_loc: (18,9)-(18,10) = "]" + │ │ │ ├── closing_loc: (18,9)-(18,10) = "]" + │ │ │ └── flags: ∅ │ │ ├── statements: ∅ │ │ ├── in_loc: (18,0)-(18,2) = "in" │ │ └── then_loc: ∅ |