[ruby-cvs:59551] nobu:r52400 (trunk): eval_error.c: Fix a format of `NameError#message`

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Oct 31 10:22:53 JST 2015


nobu	2015-10-31 10:22:51 +0900 (Sat, 31 Oct 2015)

  New Revision: 52400

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52400

  Log:
    eval_error.c: Fix a format of `NameError#message`
    
    * eval_error.c (undef_mesg_for): fix typo.  Before this commit
      `ArgumentError: malformed format string - %$` was raised when
      `NameError#message` is called.  [ruby-core:71282] [Bug #11640]
      [Fix GH-1077]

  Modified files:
    trunk/ChangeLog
    trunk/eval_error.c
    trunk/test/ruby/test_exception.rb


More information about the ruby-cvs mailing list