[Issue 18128] [scope] escaping reference to class allocated on the stack

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 3 17:53:46 UTC 2018


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |code at dawg.eu
         Resolution|---                         |DUPLICATE

--- Comment #1 from Martin Nowak <code at dawg.eu> ---
That's already fixed with 2.078.0, `move` was recently annotated as

    T move(T)(return scope ref T source)

see issue 17730.

*** This issue has been marked as a duplicate of issue 17730 ***

--


More information about the Digitalmars-d-bugs mailing list