Exceptional News

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Mon Feb 11 13:50:35 PST 2013


On Mon, 11 Feb 2013 14:00:17 +0100
"David Nadlinger" <see at klickverbot.at> wrote:

> Looks like we are finally getting somewhere. :)
> 
> ---
> version (Windows) {} else static assert(false);
> void main() {
>      try {
>      	throw new Exception("This exception...");
>      } catch (Exception e) {
>      	import std.stdio;
>      	writeln(e.msg, " ... has been caught for you by ", 
> __VENDOR__, ".");
>      }
> }
> ---
> This exception... ... has been caught for you by LDC.
> ---
> 
> David

I took my mind a minute to process the point of that ("Is
__VENDOR__ a new thing? Is it something about nested exceptions? What's
with the version(Windows)...?")

...and then my thoughts jumped straight to: Holy shit!!

:)

Fantastic news!



More information about the Digitalmars-d mailing list