jastrachan | 26 Jan 11:47 2005
Picon

Re: [groovy-dev] Pragmatic Groovy Development and Project Management

On 26 Jan 2005, at 10:37, John Wilson wrote:
> On 26 Jan 2005, at 10:04, jastrachan@... wrote:
>>> The semantics of Builder and GPath are changing because of the 
>>> removal of the delegate and the introduction of optional parentheses 
>>> in no parameter calls. That's quite a chunk of usage (especially 
>>> Builders).
>>
>> GPath doesn't use the delegate - its only used by the builders
>>
>
> No, but it relies on there being a way for the compiler to tell the 
> difference between a method call with no parameters and a field 
> access. Optional parentheses when there are no parameters is the 
> change which impacts GPath.

Sure, thats just normal name resolution (like we already do to 
disambiguate between properties and fields).

James
-------
http://radio.weblogs.com/0112098/


Gmane