Actions
Bug #22469
openparse.y hash key does not warn on -0.0
Bug #22469:
parse.y hash key does not warn on -0.0
Actions
Added by kddnewton (Kevin Newton) 29 days ago. Updated 2 days ago.
I agree this is a bug. 0.0 and -0.0 are the same key in a Hash at runtime, so the parser should warn about the duplicate, both for hash literals and for when clauses.
The priority is low, though. It only affects a warning, so there is no hurry, and I don't think it needs to be backported.
Matz.