[Ironruby-core] Bug filed: Array#hash should properly handle recursive arrays

Daniele Alessandri suppakilla at gmail.com
Thu Apr 16 17:20:29 EDT 2009


Hi,

I have just filed this bug on CodePlex:
http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=605

It is actually pretty easy to fix with a bunch of lines of code in
RubyArray.GetHashCode (just tested, too bad IronRuby.dll is not open
to contributions) and, as a result, this would resolve the following 4
critical failures for the array core specs:

Array#hash properly handles recursive arrays
Array#| properly handles recursive arrays
Array#uniq properly handles recursive arrays
Array#uniq! properly handles recursive arrays

Regards

-- 
Daniele Alessandri
http://www.clorophilla.net/blog/
http://twitter.com/JoL1hAHN


More information about the Ironruby-core mailing list