hash value of enumerable should be obtained from its elements; close #1658