DIP65: Fixing Exception Handling Syntax

Justin Whear via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 17 14:59:20 PDT 2014


On Thu, 17 Jul 2014 14:43:59 -0700, Walter Bright wrote:

> As I posted elsewhere, in the past there were many complaints about the
> ( Exception ) syntax and an expressed desire to deprecate it. I was
> going along with that. But apparently those people who wanted it
> deprecated are either silent in this thread or have changed their mind.
> 
> It's no matter, I withdraw my suggestion to deprecate it.

Thanks, this clarifies a lot.  Given that this syntax both explicitly 
allowed by spec documentation and used in Phobos, we should consider 
adding it to the grammar, which is covered by the second part of DIP65:

> The CatchParameter rule is rewritten as follows:
> CatchParameter:
>     BasicType Identifier?


More information about the Digitalmars-d mailing list