From: Michal Suchanek Date: 2008-09-12T17:51:09+09:00 Subject: [ruby-core:18563] Re: [ANN] Ruby 1.9.1 feature freeze On 12/09/2008, Michael Neumann wrote: > Michael Fellinger schrieb: > > > On Tue, Sep 2, 2008 at 3:09 PM, Yugui (Yuki Sonoda) > wrote: > > > > > Hi all, > > > > > > As announced before, Ruby 1.9.1 features will be frozen on 25 September. > > > > > > After the time, > > > * Ruby level APIs must not changed. > > > > > > > I was wondering about the syntax change from 1.8 to 1.9 regarding the > > `[]` method > > > > == The source > > class Dictionary > > def self.[](*args) > > args > > end > > end > > > > p Dictionary[1,2,3,] > > > > ^^^ > > Are you sure this trailing "," is not the source of the syntax error? > Disallowing that will also break stuff. And I will surely miss it. It makes lists easier to modify - you can add and delete at the end as well, not only in the middle. Thanks Michal