[dmd-internals] Changes for pure, nothrow, and @safe done for the moment?

David Nadlinger code at klickverbot.at
Mon Jun 27 00:38:06 PDT 2011


On 6/27/11 5:50 AM, Andrei Alexandrescu wrote:
> […] There's absolutely never a good
> reason to call a pure function and ignore its result, unless you just
> want to keep the CPU warm.

There is, especially with pure/nothrow inference for delegates – a 
prominent example is std.concurrency.receive, which I brought up in the 
commit comments yesterday: 
https://github.com/D-Programming-Language/dmd/commit/9b50184c#commitcomment-448720.

David


More information about the dmd-internals mailing list