On 4 May 2012 14:49, Jacob Carlborg <[email protected]> wrote: > On 2012-05-04 12:09, Manu wrote: > > Ah, of course! I didn't spot that >_< >> Thanks. >> >> I suppose technically, 'ref' can lead to the same ambiguity. This must >> be the core of the problem. ref needs to be supported with parentheses? >> > > I'm not sure, since you can't declare a variable as "ref" I think the > syntax should work. But the syntax with parentheses should probably work as > well, to be consistent with "const".
You can declare a variable as ref in the parameter list, that's where the ambiguity could arise, same with const.
