More removal of inadvertent symbol creation
As I mentioned in an update to #5072, this removes inadvertent symbol creation for the following methods:
It also fixes the NameError messages for the following cases (which were changed by r32621):
One new function is added to intern.h, rb_name_error_str, which is just like rb_name_error except it takes a VALUE instead of an ID.
Updated by nobu (Nobuyoshi Nakada) about 9 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r32645.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- error.c (rb_name_error_str): new function to raise NameError with the name string but not ID.
- object.c, proc.c, variable.c: more removal of inadvertent symbol creation. [Feature #5079]