Skip to content

Clear STATIC_LITERAL flag on interpolated strings#3667

Merged
kddnewton merged 1 commit intoruby:mainfrom
Earlopain:string-concat-string-literals-only
Oct 1, 2025
Merged

Clear STATIC_LITERAL flag on interpolated strings#3667
kddnewton merged 1 commit intoruby:mainfrom
Earlopain:string-concat-string-literals-only

Conversation

@Earlopain
Copy link
Collaborator

This is pretty much a more conservative redo of 4052d93

The static literal flag must be removed. But frozen/modifiable state should be retained because they are in part derived from the frozen string literal comment.

The compiler also needs a change: ruby/ruby#14697

This is pretty much a more conservative redo of ruby@4052d93

The static literal flag must be removed. But frozen/modifiable state should be retained
because they are in part derived from the frozen string literal comment.
@kddnewton kddnewton merged commit d048418 into ruby:main Oct 1, 2025
60 checks passed
@Earlopain Earlopain deleted the string-concat-string-literals-only branch October 3, 2025 10:38
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.

2 participants