Project

General

Profile

« Previous | Next » 

Revision 7582287e

Added by jeremyevans (Jeremy Evans) over 4 years ago

Make String#-@ not freeze receiver if called on unfrozen subclass instance

rb_fstring behavior in this case is to freeze the receiver. I'm
not sure if that should be changed, so this takes the conservative
approach of duping the receiver in String#-@ before passing
to rb_fstring.

Fixes [Bug #15926]