Project

General

Profile

« Previous | Next » 

Revision 72ff61f4

Added by nobu (Nobuyoshi Nakada) over 8 years ago

NameError#receiver of uninitialized constant

  • error.c (name_err_mesg_to_str): quote the name if unprintable.
  • object.c (check_setter_id): use rb_check_id to convert names.
  • variable.c (uninitialized_constant): use NameError::message to
    keep the receiver of uninitialized constant. [Feature #10881]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e