[Issue 12458] No out of bounds assert errors in not-release mode for std.bitmanip.BitArray

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 8 07:54:31 UTC 2019


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

berni44 <bugzilla at d-ecke.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at d-ecke.de

--- Comment #4 from berni44 <bugzilla at d-ecke.de> ---
IMHO, the assert is wrong. It should be an exception in the body of the
function (probably enforce), because this can be triggered by user input.

--


More information about the Digitalmars-d-bugs mailing list