summaryrefslogtreecommitdiff
path: root/include/ruby/internal/intern/string.h
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2025-07-21 08:20:45 -0700
committergit <svn-admin@ruby-lang.org>2025-07-21 23:04:42 +0000
commita495e6a44ce8cff17461b250e32ab63e409a642d (patch)
tree4c882b5a562dc63c0da5726f10d1008ae355d516 /include/ruby/internal/intern/string.h
parent21c78cb0f72f81052323292a1b9fc7a20dee44f6 (diff)
[ruby/prism] Clear flags on interpolated strings
When inner strings aren't frozen, we need to clear the flags on interpolated string nodes so that we don't emit wrong instructions. The compiler is currently incorrectly emitting frozen strings because the parser is erroneously declaring interpolated strings as "frozen". We need to fix this behavior in the parser so we can fix the compiler in CRuby. This patch is a partial fix for [this bug](https://bugs.ruby-lang.org/issues/21187) https://github.com/ruby/prism/commit/eda693f056
Diffstat (limited to 'include/ruby/internal/intern/string.h')
0 files changed, 0 insertions, 0 deletions