Trailing colon in ControlInvocationStatement?

Neal Gafter neal at
Fri Jan 8 08:56:12 PST 2010

On Fri, Jan 8, 2010 at 4:03 AM, Gernot Neppert <mcnepp02 at>wrote:

> if I read the proposal for ControlInvocationStatement correctly, the
> invocation of a method that accepts a single lambda and no other
> parameters looks a little strange because of the trailing ":"

If the lambda has any parameters, the colon is required.  If there are no
other method parameters, then you get a smiley face :)

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the closures-dev mailing list