<div class="gmail_quote">On 4 May 2012 14:49, Jacob Carlborg <span dir="ltr"><<a href="mailto:doob@me.com" target="_blank">doob@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 2012-05-04 12:09, Manu wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ah, of course! I didn't spot that >_<<br>
Thanks.<br>
<br>
I suppose technically, 'ref' can lead to the same ambiguity. This must<br>
be the core of the problem. ref needs to be supported with parentheses?<br>
</blockquote>
<br></div>
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".</blockquote>
<div><br></div><div>You can declare a variable as ref in the parameter list, that's where the ambiguity could arise, same with const.</div></div>