https://issues.dlang.org/show_bug.cgi?id=12666
--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to dmd-cxx at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/0842fc7841b9c3db558681717c2d8b4da1479ce6
@nogc for
https://issues.dlang.org/show_bug.cgi?id=12666
ag0ae...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=12666
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||pull
--
https://issues.dlang.org/show_bug.cgi?id=12666
ag0ae...@gmail.com changed:
What|Removed |Added
CC||ag0ae...@gmail.com
for std.range.primitives.{empty,save,popFront,popBack,front,back}
Excluding the UTF-decoding variants, because those throw GC allocated
exceptions.
Makes sure that issue 12666 - @nogc std.array.front, popFront, and more
stays fixed.
--
https://issues.dlang.org/show_bug.cgi?id=12666
yebblies yebbl...@gmail.com changed:
What|Removed |Added
CC||yebbl...@gmail.com
--- Comment
https://issues.dlang.org/show_bug.cgi?id=12666
--- Comment #1 from bearophile_h...@eml.cc ---
(In reply to bearophile_hugs from comment #0)
enum msg = Attempting to fetch the front of an empty array of ~
T.stringof;
assert(a.length, msg);
A little shorter code, that requires less