[Issue 4907] Catching more simple out-of-bounds errors at compile-time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 2 11:19:56 UTC 2023


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |WONTFIX

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Well, this check amounts to adding a special case in the compiler for no
apparent benefit since you end up with an assertion error at runtime anyway.

I don't think this is worth it.

--


More information about the Digitalmars-d-bugs mailing list