On 7/21/2014 3:41 AM, Jakob Ovrum wrote:
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).

That can be special cased, too.

Reply via email to