diff options
| author | Matt Valentine-House <matt@eightbitraptor.com> | 2023-11-30 11:05:26 +0000 |
|---|---|---|
| committer | Matt Valentine-House <matt@eightbitraptor.com> | 2023-11-30 21:31:57 +0000 |
| commit | 57782d3d47bcb52af0006ac75e75f3b3609b1d31 (patch) | |
| tree | 1ba2ddd9c6c0ecfec1f7b557eb680ebd1616317d /test/ruby/test_rubyoptions.rb | |
| parent | a1647c460f253cbf2c988f5f8bcf43bf23f576be (diff) | |
Store depth offset inside the scope node.
Instead of incrementing the depth using call by reference as we're
recursing up the stack we could instead store an offset for each known
scope where we know the depth is going to represented differently in the
Prism ast.
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
0 files changed, 0 insertions, 0 deletions
