(13/12/17 1:27), naruse (Yui NARUSE) wrote:
> +* Hash
> +  * incompatible changes:
> +    * Hash#reject now returns plain Hash object, that is the original object's
> +      subclass, instance variables, default value, and taintedness are no longer
> +      copied.
> 
> but test/ruby/test_hash.rb checks
> 
> assert_instance_of(Hash, h)

Right.
The result of Hash#reject is always an instance of Hash, not SubHash, now.

Better descriptions are always welcome, of course.