Re: Subclassing Struct.new
by MenTaLguY other posts by this author
Feb 28 2006 9:34PM messages near this date
Re: Subclassing Struct.new
|
Re: Subclassing Struct.new
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
Attachments:
signature.asc
unknown1
Thread:
Minkoo Seo
Chiaro Scuro
Minkoo Seo
Yukihiro Matsumoto
Mark Wilden
Markus Werner
Chiaro Scuro
Minkoo Seo
Minkoo Seo
Hal Fulton
mental
Ross Bamford
mental
Ross Bamford
Chiaro Scuro
Ross Bamford
Chiaro Scuro
Minkoo Seo
Chiaro Scuro
mental
Chiaro Scuro
mental
Yukihiro Matsumoto
Caleb Clausen
Yukihiro Matsumoto
Caleb Clausen
MenTaLguY
Yukihiro Matsumoto
gwtmp01
Chiaro Scuro
mental
Chiaro Scuro
mental
Logan Capaldo
Pit Capitain
|