-
Notifications
You must be signed in to change notification settings - Fork 344
Pretty generation produces incorrect indentation with 2.11.x #790
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
Comments
Thanks you for the report. I'm able to reproduce, I'll figure out a fix. |
byroot
added a commit
to byroot/json
that referenced
this issue
Apr 25, 2025
Fix: ruby#790 If we end up calling something that spills the state on the heap, the pointer we received is outdated and may be out of sync.
byroot
added a commit
to byroot/json
that referenced
this issue
Apr 25, 2025
Fix: ruby#790 If we end up calling something that spills the state on the heap, the pointer we received is outdated and may be out of sync.
2.11.3 is out with the fix. |
byroot
added a commit
to byroot/ruby
that referenced
this issue
Apr 28, 2025
Fix: ruby/json#790 If we end up calling something that spills the state on the heap, the pointer we received is outdated and may be out of sync. ruby/json@2ffa4ea46b
byroot
added a commit
to byroot/ruby
that referenced
this issue
Apr 28, 2025
Fix: ruby/json#790 If we end up calling something that spills the state on the heap, the pointer we received is outdated and may be out of sync. ruby/json@2ffa4ea46b
byroot
added a commit
to byroot/ruby
that referenced
this issue
Apr 29, 2025
Fix: ruby/json#790 If we end up calling something that spills the state on the heap, the pointer we received is outdated and may be out of sync. ruby/json@2ffa4ea46b
byroot
added a commit
to ruby/ruby
that referenced
this issue
Apr 30, 2025
Fix: ruby/json#790 If we end up calling something that spills the state on the heap, the pointer we received is outdated and may be out of sync. ruby/json@2ffa4ea46b
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using:
Test script:
Output with 2.10.2:
Output with 2.11.2:
Above example was trying to give a real-world use case (URIs). A simpler example for an rspec would be something like:
The text was updated successfully, but these errors were encountered: