DIP65: Fixing Exception Handling Syntax

Mike via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 9 05:48:18 PDT 2014


On Wednesday, 9 July 2014 at 12:20:43 UTC, Andrej Mitrovic via 
Digitalmars-d wrote:
> On 7/9/14, Brian Schott via Digitalmars-d 
> <digitalmars-d at puremagic.com> wrote:
>> There is no ambiguity in the grammar. "catch (A) { ... }" is 
>> not
>> valid.
>
> Give it a rest. If 'void foo(int, float)' is ok so should 
> 'catch (E)'
> be. We can change the spec if we have to, it's easier than 
> breaking
> code.

I think Brian is being quite gracious with his proposal.  The 
offer to automate fixing users' code is especially generous.

Mike


More information about the Digitalmars-d mailing list