diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-12-08 10:10:43 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-12-08 18:59:52 +0000 |
commit | 98e3552cfb80d4d3a8176d9969ea4956adee93d5 (patch) | |
tree | 65908827452245cd1d3d234e0c814f22f5981919 /test/prism/snapshots/seattlerb/case_in_67.txt | |
parent | a94a2eea34a7d6e1bd0e97b5a3bc73adcfcbcb31 (diff) | |
download | ruby-98e3552cfb80d4d3a8176d9969ea4956adee93d5.tar.gz |
[ruby/prism] Add necessary encoding flags for symbols and regex
This doesn't actually fix the encodings for symbols and regex,
unfortunately. But I wanted to get this change in because it is
the last AST change we're going to make before 3.3 is released.
So, if consumers want, they can start to check these flags to
determine the encoding, even though it will be wrong. Then once we
actually set them correctly, everything should work.
https://github.com/ruby/prism/commit/9b35f7e891
Diffstat (limited to 'test/prism/snapshots/seattlerb/case_in_67.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/case_in_67.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/case_in_67.txt b/test/prism/snapshots/seattlerb/case_in_67.txt index 612f4fa6d3..4b6c2a2b17 100644 --- a/test/prism/snapshots/seattlerb/case_in_67.txt +++ b/test/prism/snapshots/seattlerb/case_in_67.txt @@ -6,6 +6,7 @@ └── @ CaseMatchNode (location: (1,0)-(3,3)) ├── predicate: │ @ SymbolNode (location: (1,5)-(1,7)) + │ ├── flags: ∅ │ ├── opening_loc: (1,5)-(1,6) = ":" │ ├── value_loc: (1,6)-(1,7) = "a" │ ├── closing_loc: ∅ |