Actions
Feature #5089
closedEven More Inadvertent Symbol Removal, And Fix Issue With Previous Code
Status:
Closed
Assignee:
-
Target version:
-
Description
This is the third and hopefully final patch for removing inadvertent symbol creation. It removes it from the following methods:
alias_method
autoload?
private_class_method
private_constant
private
protected
public
public_class_method
public_constant
remove_method
undef_method
untrace_var
It also removes it from const_get if an invalid constant name is used or const_missing has not been overridden. If a valid constant name is used and const_missing has been overridden, then a symbol must be created so it can be passed to const_missing.
The second patch fixes the previous patches to handle the case where a non-String that implements to_str is passed to the methods.
Files
Actions
Like0
Like0