Project

General

Profile

Actions

Backport #10139

closed

Backport r47190 (use RBASIC_SET_CLASS_RAW in setup_fake_str())

Added by nagachika (Tomoyuki Chikanaga) over 9 years ago. Updated over 9 years ago.


Description

From commit message

fake strings should not set class by
RBASIC_SET_CLASS() because it insert write barriers to fake
(non-RVALUE) structure.
It can cause unexpected behaviour.
Ruby 2.1 also have a same problem (setup_fake_str() in parse.y).
Actions

Also available in: Atom PDF

Like0
Like0