From: Christophe Broult Date: 2001-10-05T04:24:06+09:00 Subject: [ruby-talk:22096] RE: parse error in version 1.7 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C14D0A.1FC32920 Content-Type: text/plain > -----Original Message----- > From: Mathieu Bouchard [mailto:matju@sympatico.ca] > Sent: Thursday, October 04, 2001 3:19 PM > To: ruby-talk@ruby-lang.org > Subject: [ruby-talk:22095] parse error in version 1.7 > > > > Hi. It seems that a lot of my code works with 1.6, written like this: > > [:blah, foo bar, baz], > > which is equivalent to: > > [:blah, foo(bar, baz)], > > but in 1.7 the former is a parse error. Should I change that > code, or is > this a parser bug? IMHO the latter is straight forward to understand whereas the former is cryptic and thus error prone. So 1.7. no longer accepts it, this may be a good thing. Christophe > > ________________________________________________________________ > Mathieu Bouchard http://hostname.2y.net/~matju > > ------_=_NextPart_001_01C14D0A.1FC32920 Content-Type: text/html Content-Transfer-Encoding: quoted-printable RE: [ruby-talk:22095] parse error in version 1.7

> -----Original Message-----
> From: Mathieu Bouchard [mailto:matju@sympatico.ca]=
> Sent: Thursday, October 04, 2001 3:19 PM
> To: ruby-talk@ruby-lang.org
> Subject: [ruby-talk:22095] parse error in = version 1.7
>
>
>
> Hi. It seems that a lot of my code works with = 1.6, written like this:
>
>       [:blah, foo bar, = baz],
>
> which is equivalent to:
>
>       [:blah, foo(bar, = baz)],
>
> but in 1.7 the former is a parse error. Should = I change that
> code, or is
> this a parser bug?

IMHO the latter is straight forward to understand = whereas the former
is cryptic and thus error prone. So 1.7. no longer = accepts it,
this may be a good thing.

Christophe

>
> = ________________________________________________________________
> Mathieu = Bouchard          &nbs= p;        http://hostname.2y.net/~matju
>
>

------_=_NextPart_001_01C14D0A.1FC32920--