JRuby (please use github issues at http://bugs.jruby.org)
  1. JRuby (please use github issues at http://bugs.jruby.org)
  2. JRUBY-3390

RubySpec: Numeric#coerce calls #to_f to convert other if self responds to #to_f

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.2
    • Fix Version/s: JRuby 1.2
    • Component/s: RubySpec
    • Labels:
      None
    • Number of attachments :
      0

      Description

           [java] Numeric#coerce calls #to_f to convert other if self responds to #to_f FAILED
           [java] Expected TypeError but no exception was raised
           [java] /Users/headius/projects/jruby/spec/ruby/core/numeric/coerce_spec.rb:19
           [java] /Users/headius/projects/jruby/spec/ruby/core/numeric/coerce_spec.rb:4
           [java] /Users/headius/projects/jruby/spec/ruby/core/numeric/coerce_spec.rb:54:in `load'
      

        Activity

        Marcin Mielzynski made changes -
        Field Original Value New Value
        Assignee Marcin Mielzynski [ lopex ]
        Marcin Mielzynski made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Marcin Mielzynski made changes -
        Fix Version/s JRuby 1.2 [ 14757 ]
        Charles Oliver Nutter made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Marcin Mielzynski
            Reporter:
            Charles Oliver Nutter
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: