summaryrefslogtreecommitdiff
path: root/test/ruby/test_inlinecache.rb
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2023-12-06 20:22:18 +0000
committerMatt Valentine-House <matt@eightbitraptor.com>2023-12-06 21:12:08 +0000
commitc8b60c8ac2c8bbd077150792b5b207e983ab3634 (patch)
tree76d34c1eeab307f668c64a716273acdd82268aff /test/ruby/test_inlinecache.rb
parentfe6ee5e92148755b75ffd00ab29611b59a416d5a (diff)
[PRISM] Correct depth offset for block local vars
Blocks should always look at their own local table first, even when defined inside an ensure/rescue or something else that uses depth offset. We can ignore the depth offset if we're doing local lookups inside a block
Diffstat (limited to 'test/ruby/test_inlinecache.rb')
0 files changed, 0 insertions, 0 deletions