Project

General

Profile

ยซ Previous | Next ยป 

Revision b47d43fa

Added by alanwu (Alan Wu) over 1 year ago

[PRISM] Use rb_fstring() on all string literals

In addition to saving space by deduplicating, this also makes the
literals have code range like TestObjSpace#test_dump_string_coderange
expects. It's testing a detail, but we might as well use rb_fstring().

Note that putstring makes a mutable duplicate, so passing it an
fstring is fine.