diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2024-12-21 22:00:56 +0100 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2025-01-11 19:09:05 -0500 |
| commit | 7cbaa3b9298b4ab5027d75a7317ca43a9e745c16 (patch) | |
| tree | 0cf1a458aed88233769a577b76fee441bea35be3 /include/ruby/internal/iterator.h | |
| parent | d597118b3f1f03f56ed723aac2b3ec37b75fdb26 (diff) | |
[ruby/prism] Fix an incompatibility with the parser translator
The offset cache contains an entry for each byte so it can't be accessed via the string length.
Adds tests for all variants except for this:
```
"fo
o" "ba
’"
```
For some reason, this still has the wrong offset.
https://github.com/ruby/prism/commit/a651126458
Diffstat (limited to 'include/ruby/internal/iterator.h')
0 files changed, 0 insertions, 0 deletions
