I tried to reply to Shugo on bugs.ruby-lang.org. However, I got the following validation message: "% Done is not included in the list" I do not know why I would have to indicate "% Done" on a feature that we only just started discussing. I also don't know where/how I would be indicating this (I could easily set the percentage to 0 if I knew where to do that). Regards, Martin. On 2015/04/29 09:32, shugo / ruby-lang.org wrote: > Issue #11105 has been reported by Shugo Maeda. > > ---------------------------------------- > Feature #11105: ES6-like hash literals > https://bugs.ruby-lang.org/issues/11105 > > * Author: Shugo Maeda > * Status: Open > * Priority: Normal > * Assignee: > ---------------------------------------- > Why not support ECMAScript6-like hash literals? > > For example, > > {x, y} > > is equivalent to: > > {x: x, y: y} > > For convenience, the prefix of global, instance, and class variables should be removed from the key name as follows: > > a = 1 > B = 2 > $c = 3 > @d = 4 > @@e = 5 > p({a, B, $c, @d, @@e, f: 6}) > #=> {:a=>1, :B=>2, :c=>3, :d=>4, :e=>5, :f=>6} > > > ---Files-------------------------------- > 0001-support-ES6-like-hash-literals.patch (3.88 KB) > >