Actions
Bug #5860
closedHash literal '{:a==>1}'
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0dev (2011-12-31 trunk 34165) [x86_64-darwin11.2.0]
Backport:
Description
=begin
There is an esoteric hash literal construct possible in the Ruby grammar:
{:a==>1}
Looking at ((<parse.y|URL:https://github.com/ruby/ruby/blob/731e45216ae4adf4122f0515d3056e1579efb0f9/parse.y#L8408-8418>)), I am pretty sure this is intended behavior, but I wanted to make sure that this is so.
=end
Updated by naruse (Yui NARUSE) over 12 years ago
- Status changed from Open to Rejected
Well trained rubyist will see a setter-like property symbol :a=.
Actions
Like0
Like0