Closed luke-gru closed 1 month ago
I think it is a bad idea to do such a thing on the library side. The person using GC.stress = true
should deal with the hassle.
In this case, just requiring “prism”
before calling GC.stress = true
would be sufficient.
Run with --parser=prism or with ruby master:
This hangs, because error_highlight calls
require "prism"
, which requires and parses a huge amount of code. I think in this case, error_highlight should turn GC.stress off. Something like: