Small @nogc experience report

Walter Bright newshound2 at digitalmars.com
Wed Sep 19 19:54:49 UTC 2018


On 9/19/2018 11:35 AM, Steven Schveighoffer wrote:
> I'm running into this coincidentally right now, when trying to debug a PR. I 
> found I'm getting a range error deep inside a phobos function. But because 
> Phobos is trying to be pure @nogc nothrow @safe, I can do almost nothing to 
> display what is wrong.

That's why attribute enforcement is weakened in debug conditionals.


More information about the Digitalmars-d mailing list