DIP65: Fixing Exception Handling Syntax

Brian Schott via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 28 13:23:09 PDT 2014


On Monday, 28 July 2014 at 20:14:24 UTC, Timon Gehr wrote:
> foreach(i;0..n){
>     // ...
> }
> (&x).foo();
>
> try{
>    // ...
> }catch(Exception e){
>     return e;
> }
> (new Exception("hi")).msg.writeln;

I don't see how these are ambiguous.


More information about the Digitalmars-d mailing list