Bug #2562

String#hex strange behavior

Added by Ivan Samsonov about 2 years ago. Updated 10 months ago.

[ruby-core:27441]
Status:Rejected Start date:01/06/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:core
Target version:1.9.1
ruby -v:ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10]

Description

'_a'.hex:

1.8.6, 1.8,7 rubinius 1.0 rc2 gives 10
1.9.1p243, 1.9.1p376, macuby gives 0.

Also, there is no such test in rubyspec.

History

Updated by Yui NARUSE about 2 years ago

  • Status changed from Open to Rejected
This is intended, r15799.

Also available in: Atom PDF