diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-04-24 11:58:24 -0400 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-04-24 14:16:42 -0400 |
| commit | 6d9ba1e014d5a5871f8a62ced582547ca8ea6b30 (patch) | |
| tree | 17d4f9c16fc92b332db38303cc8455b3ff8e2352 /array.rb | |
| parent | cf24a0483e5ae0730c17dcb784122419a937cb17 (diff) | |
[ruby/prism] Change inspect from recursive to a queue
We would previously cause a stack overflow if we parsed a file that
was too deeply nested when we were calling inspect. Instead, we now
use a queue of commands to do it linearly so we don't.
https://github.com/ruby/prism/commit/0f21f5bfe1
Diffstat (limited to 'array.rb')
0 files changed, 0 insertions, 0 deletions
