Project

General

Profile

« Previous | Next » 

Revision 60dad06d

Added by nobu (Nobuyoshi Nakada) about 8 years ago

numeric.c: wrong type step should raise TypeError

  • numeric.c (num_step_scan_args): comparison String with Numeric
    should raise TypeError. it is an invalid type, but not a
    mismatch the number of arguments. [ruby-core:62430] [Bug #9810]

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