summaryrefslogtreecommitdiff
path: root/array.rb
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-04-24 11:58:24 -0400
committerKevin Newton <kddnewton@gmail.com>2024-04-24 14:16:42 -0400
commit6d9ba1e014d5a5871f8a62ced582547ca8ea6b30 (patch)
tree17d4f9c16fc92b332db38303cc8455b3ff8e2352 /array.rb
parentcf24a0483e5ae0730c17dcb784122419a937cb17 (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