Issue #5079 has been updated by Nobuyoshi Nakada.

Assignee set to Jeremy Evans


----------------------------------------
Feature #5079: More removal of inadvertent symbol creation
http://redmine.ruby-lang.org/issues/5079

Author: Jeremy Evans
Status: Closed
Priority: Normal
Assignee: Jeremy Evans
Category: core
Target version: 


As I mentioned in an update to #5072, this removes inadvertent symbol creation for the following methods:

class_variable_get
instance_variable_get
remove_class_variable
remove_instance_variable
remove_const
method
instance_method
public_method
public_instance_method

It also fixes the NameError messages for the following cases (which were changed by r32621):

Object.const_defined?("gadzooks1")
Object.instance_variable_defined?("gadzooks2")
Object.class_variable_defined?("gadzooks3")

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.


-- 
http://redmine.ruby-lang.org