[Issue 15100] @nogc should ignore allocations on assertion fail
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Sep 22 16:10:40 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=15100
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schveiguy at yahoo.com
--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Note that assert already is allocating if it fails.
I don't see why:
new Error("msg");
should be @nogc, but:
new Error("msg".idup);
isn't.
--
More information about the Digitalmars-d-bugs
mailing list