PROPOSAL: open and close brace optional for single statement try, catch, finally, method declaration
Neal Gafter
neal at gafter.com
Mon Mar 30 07:25:09 PDT 2009
On Mon, Mar 30, 2009 at 6:25 AM, Tom Hawtin <Thomas.Hawtin at sun.com> wrote:
> This is similar to the dangling-else ambiguity.
> http://en.wikipedia.org/wiki/Dangling_else
Perhaps, but the Java grammar does not have a dangling-else ambiguity.
The grammar was carefully written to be unambiguous. This proposal
would make the grammar ambiguous.
Regards,
Neal
More information about the coin-dev
mailing list