Thread overview
[Issue 19881] Escaping reference to local through return scope with -dip1000 and @safe
May 16, 2019
Les De Ridder
May 16, 2019
mhh
May 17, 2019
Dlang Bot
May 17, 2019
anonymous4
May 19, 2019
Dlang Bot
May 16, 2019
https://issues.dlang.org/show_bug.cgi?id=19881

Les De Ridder <dlang@lesderid.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dlang@lesderid.net

--
May 16, 2019
https://issues.dlang.org/show_bug.cgi?id=19881

mhh <maxhaton@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxhaton@gmail.com

--- Comment #1 from mhh <maxhaton@gmail.com> ---
I did a rough and ready check, and it doesn't look like this ever worked. i.e. no past build of dmd supporting dip1000 caught this

--
May 17, 2019
https://issues.dlang.org/show_bug.cgi?id=19881

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@lesderid created dlang/dmd pull request #9808 "Fix issue 19881 - escaping reference to local through return scope with -dip1000 and @safe" fixing this issue:

- Fix issue 19881 - escaping reference to local through return scope with -dip1000 and @safe

https://github.com/dlang/dmd/pull/9808

--
May 17, 2019
https://issues.dlang.org/show_bug.cgi?id=19881

anonymous4 <dfj1esp02@sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |safe
           Hardware|x86                         |All
                 OS|Windows                     |All

--
May 19, 2019
https://issues.dlang.org/show_bug.cgi?id=19881

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #9808 "Fix issue 19881 - escaping reference to local through return scope with -dip1000 and @safe" was merged into stable:

- c6ac85cf3c0fdef347dc36500defb20734ba5abb by Les De Ridder:
  Fix issue 19881 - escaping reference to local through return scope with
-dip1000 and @safe

https://github.com/dlang/dmd/pull/9808

--