diff options
| author | yui-knk <spiketeika@gmail.com> | 2024-01-05 19:45:19 +0900 |
|---|---|---|
| committer | Yuichiro Kaneko <spiketeika@gmail.com> | 2024-02-10 09:23:17 +0900 |
| commit | bf72cb84ca52bc062cc1711c03622ed6c928fed8 (patch) | |
| tree | a5e17e57e10fe9db150d04c7fd1946ab0a2529b0 /include | |
| parent | e7b0a01002323d9ed8eed9abca2a4979ebe9ae32 (diff) | |
Include the first constant name into `Ractor::IsolationError` message
If lhs of assignment is top-level constant reference, the first
constant name is omitted from error message.
This commit fixes it.
```
# shareable_constant_value: literal
::C = ["Not " + "shareable"]
# Before
# => cannot assign unshareable object to (Ractor::IsolationError)
# After
# => cannot assign unshareable object to ::C (Ractor::IsolationError)
```
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
