summaryrefslogtreecommitdiff
path: root/lib/prism/polyfill/scan_byte.rb
AgeCommit message (Collapse)Author
5 days[ruby/prism] Fix parser translator during string escaping with invalid utf-8Earlopain
Instead, prefer `scan_byte` over `get_byte` since that already returns the byte as an integer, sidestepping conversion issues. Fixes https://github.com/ruby/prism/issues/3582 https://github.com/ruby/prism/commit/7f3008b2b5