Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@npezza93
Copy link
Contributor

@npezza93 npezza93 commented Dec 2, 2024

When loading this gem with ruby 3.4 preview2 and enabling frozen strings, an error gets thrown around modifying a frozen string. This resolves the issue and updates the tests to run ruby-head tests with strings frozen to prevent this in the future.

image

@adzap
Copy link
Owner

adzap commented Dec 2, 2024

Why is this a bug?

@npezza93 npezza93 force-pushed the allocations branch 4 times, most recently from b61766f to d3ac3a5 Compare December 2, 2024 22:45
@npezza93 npezza93 changed the title Fix bug when strings are frozen Update to be frozen string literal safe Dec 2, 2024
@npezza93
Copy link
Contributor Author

npezza93 commented Dec 2, 2024

@adzap Updated the description and tests to show what the bug is

@npezza93 npezza93 changed the base branch from allocations to master December 16, 2024 14:30
@adzap adzap merged commit 0ef075d into adzap:master Dec 16, 2024
8 of 9 checks passed
@fatkodima
Copy link

@adzap Can you please release a new version with this fix?

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.

3 participants