[ruby-cvs:56374] normal:r49224 (trunk): numeric.c: correct error message when coerce fails

normal at ruby-lang.org normal at ruby-lang.org
Mon Jan 12 18:56:15 JST 2015


normal	2015-01-12 18:56:14 +0900 (Mon, 12 Jan 2015)

  New Revision: 49224

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

  Log:
    numeric.c: correct error message when coerce fails
    
    * numeric.c (bit_coerce): use original value for error message
      [ruby-core:67405] [Bug #10711]
    * test/ruby/test_numeric.rb (test_coerce): check error message

  Modified files:
    trunk/ChangeLog
    trunk/numeric.c
    trunk/test/ruby/test_numeric.rb


More information about the ruby-cvs mailing list