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