[Issue 12625] implicit slicing of RValue static array should be illegal

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Apr 14 23:39:59 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=12625

--- Comment #11 from ZombineDev <petar.p.kirov at gmail.com> ---
I don't think that it should be allowed even in @system code. I had a very ugly
stack corruption because of this bug in a networking project. Thankfully, I had
thorough unittests to catch it early, but still it wasn't obvious to track down
at all.

--


More information about the Digitalmars-d-bugs mailing list