DIP65: Fixing Exception Handling Syntax
Jakob Ovrum via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jul 21 03:41:00 PDT 2014
On Thursday, 17 July 2014 at 21:03:08 UTC, Walter Bright wrote:
> Did you see my response?
>
> I suggested recognizing in the parser:
>
> ( Identifier )
>
> as a special case, in addition to using Parser::isDeclaration().
I just want to point out that this special case is lacking, and
will inevitably cause someone a headache when they try to do
something like:
catch(typeof(foo)) {
...
}
Which is currently valid (as I'd expect).
More information about the Digitalmars-d
mailing list