Re: Subclassing Struct.new
by Yukihiro Matsumoto other posts by this author
Feb 28 2006 11:41PM messages near this date
Re: Subclassing Struct.new
|
Re: Subclassing Struct.new
Hi,
In message "Re: Subclassing Struct.new"
on Wed, 1 Mar 2006 14:34:28 +0900, MenTaLguY <mental@[...].net> writes:
|Will the Ruby2.0 grammar no longer have variable/method ambiguities?
I'm not sure what you meant by "ambiguities". The identifiers not
assigned in the scope will be treated as method calls, as well as in
current behavior.
|Otherwise, it'd be supremely nasty to parse. As far as I can figure
|out, you'd have to do it in multiple passes...
I'd use a technique called back patching to avoid multiple passes.
matz.
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
|