summaryrefslogtreecommitdiff
path: root/include/ruby/internal/encoding/string.h
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2024-01-06 17:33:20 +0900
committerYuichiro Kaneko <spiketeika@gmail.com>2024-02-10 09:23:17 +0900
commitea91ab696e6ee7225a2dde909e60dd9d0b241935 (patch)
tree47963367b2840fc1b425d47eee15cc7c59c1dbdd /include/ruby/internal/encoding/string.h
parentbf72cb84ca52bc062cc1711c03622ed6c928fed8 (diff)
Fix constant name of `Ractor::IsolationError` message
`dest` of `const_decl_path` is `NODE_COLON2` or `NODE_COLON3` in some cases. For example, `B::C ||= [“Not ” + “shareable”]` passes `NODE_COLON2` and `::C ||= [“Not ” + “shareable”]` passes `NODE_COLON3`. This commit fixes `Ractor::IsolationError` message for such case. ``` # shareable_constant_value: literal ::C ||= ["Not " + "shareable"] # Before # => cannot assign unshareable object to C (Ractor::IsolationError) # After # => cannot assign unshareable object to ::C (Ractor::IsolationError) ```
Diffstat (limited to 'include/ruby/internal/encoding/string.h')
0 files changed, 0 insertions, 0 deletions