How to assign the return value of a CIS

Neal Gafter neal at
Fri Jan 8 08:57:36 PST 2010

On Fri, Jan 8, 2010 at 4:55 AM, Peter Levart <peter.levart at> wrote:

> No, the syntax is specified as a statement - not an expression. Because it
> looks like a statement it is a statement. If it was an expression then it
> might confuse people and possibly compiler too. So unfortunatelly no return
> values from this syntax.

Right.  If you want to do something with the result value, then use the
normal method invocation syntax.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the closures-dev mailing list