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/defn_args_forward_args.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/defn_args_forward_args.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/defn_args_forward_args.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/defn_args_forward_args.txt b/test/prism/snapshots/seattlerb/defn_args_forward_args.txt index b1854d9a35..e78a807e1c 100644 --- a/test/prism/snapshots/seattlerb/defn_args_forward_args.txt +++ b/test/prism/snapshots/seattlerb/defn_args_forward_args.txt @@ -38,6 +38,7 @@ │ │ ├── flags: ∅ │ │ └── arguments: (length: 3) │ │ ├── @ SymbolNode (location: (1,23)-(1,27)) + │ │ │ ├── flags: ∅ │ │ │ ├── opening_loc: (1,23)-(1,24) = ":" │ │ │ ├── value_loc: (1,24)-(1,27) = "get" │ │ │ ├── closing_loc: ∅ |