Avoid relying the type returned by #hash
Opal’s Array#hash implementation is not compliant

Yes, it’s probably too much an implementation detail.
In Opal Symbol = String and Fixnum = Float