diff options
author | Kevin Newton <kddnewton@gmail.com> | 2024-02-01 11:43:56 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-02-01 16:48:55 +0000 |
commit | 494778c66340be109f4d3bc4e51e57da967e7027 (patch) | |
tree | 8d5b2103982f3e29fb6a3bdfa510c93c57b35606 /test/prism/snapshots/seattlerb/difficult3_5.txt | |
parent | 67c5690a6d29e861fcb8522dc4213f9d26d3aab6 (diff) | |
download | ruby-494778c66340be109f4d3bc4e51e57da967e7027.tar.gz |
[ruby/prism] Remove locals_body_index
We're not using this anymore, and it doesn't make a lot of sense
outside the context of a compiler anyway, and in anyway it's wrong
when you have local variables written in default values.
https://github.com/ruby/prism/commit/5edbd9c25b
Diffstat (limited to 'test/prism/snapshots/seattlerb/difficult3_5.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/difficult3_5.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/prism/snapshots/seattlerb/difficult3_5.txt b/test/prism/snapshots/seattlerb/difficult3_5.txt index 5c62fbed13..793c3f1e11 100644 --- a/test/prism/snapshots/seattlerb/difficult3_5.txt +++ b/test/prism/snapshots/seattlerb/difficult3_5.txt @@ -16,7 +16,6 @@ │ └── arguments: (length: 1) │ └── @ LambdaNode (location: (1,2)-(1,19)) │ ├── locals: [] - │ ├── locals_body_index: 0 │ ├── operator_loc: (1,2)-(1,4) = "->" │ ├── opening_loc: (1,7)-(1,8) = "{" │ ├── closing_loc: (1,18)-(1,19) = "}" @@ -41,7 +40,6 @@ │ └── block: │ @ BlockNode (location: (1,11)-(1,17)) │ ├── locals: [] - │ ├── locals_body_index: 0 │ ├── parameters: ∅ │ ├── body: ∅ │ ├── opening_loc: (1,11)-(1,13) = "do" |