Trailing colon in ControlInvocationStatement?

Gernot Neppert mcnepp02 at
Fri Jan 8 04:03:55 PST 2010


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 ":"


this method

void foo(#void(String));

can be invoked like this:

foo(String s:)

More information about the closures-dev mailing list