static weirdness

Mike Parker aldacron at gmail.com
Thu Jan 25 13:24:38 UTC 2018


On Thursday, 25 January 2018 at 12:58:12 UTC, Jonathan M Davis 
wrote:

> Thinking about it, I do vaguely recall a discussion sometime 
> last year about an invariant being invisibly inserted under 
> some set of circumstances. Maybe that's what's happening? I 
> believe that it was complained about in that discussion, so 
> maybe it was removed after that. Certainly, if I try that code 
> locally with master, it runs just fine without hitting any 
> assertions.


https://dlang.org/changelog/2.077.0.html#removePreludeAssert


More information about the Digitalmars-d-learn mailing list