Michel Fortin wrote:
The semicolon could be made optional for the last statement in a block. Just have it be a statement separator instead of a terminator. That'd be consistent with commas in enums, array literals, and function arguments.

foo((int i) { writeln(i) });


This has been proposed before, and it looks nice, but it's problematic.

It was also proposed and rejected for C++0x lambdas.

Reply via email to