Skip to content

Stop caching the generator state pointer#791

Merged
byroot merged 1 commit intoruby:masterfrom
byroot:fix-pretty-generate
Apr 25, 2025
Merged

Stop caching the generator state pointer#791
byroot merged 1 commit intoruby:masterfrom
byroot:fix-pretty-generate

Conversation

@byroot
Copy link
Copy Markdown
Member

@byroot byroot commented Apr 25, 2025

Fix: #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.

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 byroot force-pushed the fix-pretty-generate branch from 51a25d1 to 2ffa4ea Compare April 25, 2025 05:39
@byroot byroot merged commit d316f93 into ruby:master Apr 25, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pretty generation produces incorrect indentation with 2.11.x

1 participant