Project

General

Profile

« Previous | Next » 

Revision 6d9ba1e0

Added by kddnewton (Kevin Newton) over 1 year ago

[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