The Right Approach to Exceptions

Daniel Murphy yebblies at nospamgmail.com
Sun Feb 19 08:05:33 PST 2012


"Andrei Alexandrescu" <SeeWebsiteForEmail at erdani.org> wrote in message 
news:jhr67g$2dup$4 at digitalmars.com...
>
> The Java7 syntax looks meaningful to me, too - you want to catch the union 
> type. A possibility that wouldn't change the language for us would be to 
> catch Algebraic!(Ex1, Ex2).
>
> Andrei

That would still require changing the language, just not the syntax.

(E : A, B) was just the syntax for listing base classes. 




More information about the Digitalmars-d mailing list