hash.c (rb_hash_s_create): Reject Hash[[nil]]
Hash[[nil]]
The behavior of Hash[[nil]] #=> {} was a bug until 1.9.3, but had been remained with a warning because some programs depended upon it. Now, six years passed. We can remove the compatibility behavior. [Bug #7300]
Hash[[nil]] #=> {}
hash.c (rb_hash_s_create): Reject
Hash[[nil]]
The behavior of
Hash[[nil]] #=> {}
was a bug until 1.9.3, but had beenremained with a warning because some programs depended upon it.
Now, six years passed. We can remove the compatibility behavior.
[Bug #7300]