Project

General

Profile

« Previous | Next » 

Revision ead61f4a

Added by Eregon (Benoit Daloze) almost 7 years ago

no longer rescue exceptions of #<=> when initializing a Range

  • range.c (range_init): no longer hide the user exception
    with a ArgumentError, just let the user exception go through.
  • test/ruby/test_range.rb (test_new): add tests.
    [Feature #7688]

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