Project

General

Profile

« Previous | Next » 

Revision 970813d9

Added by Earlopain (Earlopain _) about 1 month ago

[ruby/prism] Fix parser translator during string escaping with invalid utf-8

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