From: MenTaLguY Date: 2006-03-01T14:34:28+09:00 Subject: Re: Subclassing Struct.new --=-6asQBf+pjYp1QIeP0Z3c Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2006-03-01 at 11:19 +0900, Yukihiro Matsumoto wrote: > Yes, and in Ruby2.0, this will be changed to "if you see an assignment > to a bare name, that name means a variable in the current scope", This is best for the user. However... Will the Ruby2.0 grammar no longer have variable/method ambiguities? Otherwise, it'd be supremely nasty to parse. As far as I can figure out, you'd have to do it in multiple passes... -mental --=-6asQBf+pjYp1QIeP0Z3c Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBEBTKYSuZBmZzm14ERAvt/AKCkROiPuEokZkOgyqce8WldmhjRigCfZKa8 R2yKAK3Cm8LFIr4eVDppy/M= =3fjK -----END PGP SIGNATURE----- --=-6asQBf+pjYp1QIeP0Z3c--