Yukihiro Matsumoto
12/16/2006 3:24:00 AM
Hi,
In message "Re: Random idea - private, blocks, constants"
on Sat, 16 Dec 2006 07:29:09 +0900, "Trans" <transfire@gmail.com> writes:
|How does method lookup differ from constant lookup? It has always
|suprised me a little that FOO and FOO() are both legal and different.
foo and foo() are differ when foo is assigned as a local variable.
FOO and FOO() are always differ since the compiler knows FOO is a
constant.
matz.