[Issue 17363] @safety hole due to $ caching in slice expressions

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed May 3 02:25:35 PDT 2017


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

anonymous4 <dfj1esp02 at sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=17364

--- Comment #1 from anonymous4 <dfj1esp02 at sneakemail.com> ---
The slice should be loaded before evaluation of slice arguments, then length is
safe to cache, see issue 17364.

--


More information about the Digitalmars-d-bugs mailing list