Improvement in pure functions specification

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 20 17:11:59 PST 2016


On 12/20/16 8:10 PM, Meta wrote:
> The compiler will have to be changed for this part. Currently it's a
> warning (or maybe it was an error, can't remember) to call a strongly
> pure function returning void without doing `cast(void)fun()`.

Interesting. As soon as the spec change is merged, we get to file an 
issue :o). -- Andrei


More information about the Digitalmars-d mailing list