eileencodes a6526342f3 [PRISM] Fix segv with regex once flag
When you have an interpolated regex with a `once` flag and local
variable is outside the block created by the `once` flag, Prism would
see a segv. This is because it was not taking the depth into account.

To fix this, we need to add 1 to the `local_depth_offset` on the
`scope`.

Fixes: ruby/prism#2047
2023-12-12 15:15:02 -05:00
..
2023-12-12 10:31:37 +09:00
2023-12-12 11:06:27 +09:00
2023-12-05 12:04:11 +09:00
2023-11-03 22:18:16 -07:00
2023-11-25 10:12:28 +00:00
2023-11-26 01:07:21 +00:00