static weirdness

Steven Schveighoffer schveiguy at yahoo.com
Thu Jan 25 14:45:25 UTC 2018


On 1/25/18 8:24 AM, Mike Parker wrote:
> 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

I think that changelog is wrong. The prelude assert was added I think to 
all member calls. And it has been removed.

-Steve


More information about the Digitalmars-d-learn mailing list