Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PRISM] Replace inspect with a queue #10622

Merged
merged 2 commits into from
Apr 24, 2024
Merged

[PRISM] Replace inspect with a queue #10622

merged 2 commits into from
Apr 24, 2024

Commits on Apr 24, 2024

  1. [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.
    
    ruby/prism@0f21f5bfe1
    kddnewton committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    8f1354f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e951bff View commit details
    Browse the repository at this point in the history