Project

General

Profile

Bug #12158

Fixnum#% doesn't show its name on ZeroDivisionError

Added by naruse (Yui NARUSE) almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-freebsd10.2]
[ruby-core:74221]

Description

% ruby -ve'p 12345 % 0'
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-freebsd10.2]
-e:1:in `<main>': divided by 0 (ZeroDivisionError)

It should behave like

% ruby -ve'p 12345 / 0'
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-freebsd10.2]
-e:1:in `/': divided by 0 (ZeroDivisionError)
        from -e:1:in `<main>'

Associated revisions

Revision 87adc59b
Added by naruse (Yui NARUSE) almost 4 years ago

  • insns.def (opt_mod): show its method name on ZeroDivisionError. [Bug #12158]

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

Revision 54028
Added by naruse (Yui NARUSE) almost 4 years ago

  • insns.def (opt_mod): show its method name on ZeroDivisionError. [Bug #12158]

Revision 54028
Added by naruse (Yui NARUSE) almost 4 years ago

  • insns.def (opt_mod): show its method name on ZeroDivisionError. [Bug #12158]

Revision 54028
Added by naruse (Yui NARUSE) almost 4 years ago

  • insns.def (opt_mod): show its method name on ZeroDivisionError. [Bug #12158]

Revision 54028
Added by naruse (Yui NARUSE) almost 4 years ago

  • insns.def (opt_mod): show its method name on ZeroDivisionError. [Bug #12158]

Revision 6827f86c
Added by usa (Usaku NAKAMURA) over 3 years ago

merge revision(s) 54028: [Backport #12158]

    * insns.def (opt_mod): show its method name on ZeroDivisionError.
      [Bug #12158]

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

Revision 54271
Added by usa (Usaku NAKAMURA) over 3 years ago

merge revision(s) 54028: [Backport #12158]

* insns.def (opt_mod): show its method name on ZeroDivisionError.
  [Bug #12158]

Revision 3c989d3c
Added by nagachika (Tomoyuki Chikanaga) over 3 years ago

merge revision(s) 54028: [Backport #12158]

    * insns.def (opt_mod): show its method name on ZeroDivisionError.
      [Bug #12158]

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

Revision 54331
Added by nagachika (Tomoyuki Chikanaga) over 3 years ago

merge revision(s) 54028: [Backport #12158]

* insns.def (opt_mod): show its method name on ZeroDivisionError.
  [Bug #12158]

Revision 91b26ffa
Added by naruse (Yui NARUSE) over 3 years ago

merge revision(s) 54028: [Backport #12158]

    * insns.def (opt_mod): show its method name on ZeroDivisionError.
      [Bug #12158]

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

Revision 54378
Added by naruse (Yui NARUSE) over 3 years ago

merge revision(s) 54028: [Backport #12158]

* insns.def (opt_mod): show its method name on ZeroDivisionError.
  [Bug #12158]

History

#1

Updated by naruse (Yui NARUSE) almost 4 years ago

  • Status changed from Open to Closed

Applied in changeset r54028.


  • insns.def (opt_mod): show its method name on ZeroDivisionError. [Bug #12158]

Updated by usa (Usaku NAKAMURA) over 3 years ago

  • Backport changed from 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: DONE, 2.2: REQUIRED, 2.3: REQUIRED

ruby_2_1 r54271 merged revision(s) 54028.

Updated by nagachika (Tomoyuki Chikanaga) over 3 years ago

  • Backport changed from 2.1: DONE, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: DONE, 2.2: DONE, 2.3: REQUIRED

Backported into ruby_2_2 branch at r54331.

Updated by naruse (Yui NARUSE) over 3 years ago

  • Backport changed from 2.1: DONE, 2.2: DONE, 2.3: REQUIRED to 2.1: DONE, 2.2: DONE, 2.3: DONE

ruby_2_3 r54378 merged revision(s) 54028.

Also available in: Atom PDF