Thread overview
[Issue 17803] std.typecons.Tuple: opAssign should return ref Tuple
Sep 07, 2017
Simen Kjaeraas
September 07, 2017
https://issues.dlang.org/show_bug.cgi?id=17803

Simen Kjaeraas <simen.kjaras@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, trivial

--- Comment #1 from Simen Kjaeraas <simen.kjaras@gmail.com> ---
Apparently I wasn't paying attention when filing this. The above code should be:

    Tuple!int foo() {
        Tuple!int a;
        return a = tuple(3);
    }

--
September 07, 2017
https://issues.dlang.org/show_bug.cgi?id=17803

--- Comment #2 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/ba2a1cee1711f38268ab65dde49defc5768a5377 Fix issue 17803 std.typecons.Tuple: opAssign should return ref Tuple

https://github.com/dlang/phobos/commit/ccadf2530bb143701537f81141cb7f03bdba7506 Merge pull request #5713 from Biotronic/Issue-8494

Fix issue 17803 std.typecons.Tuple: opAssign should return ref Tuple merged-on-behalf-of: MetaLang <MetaLang@users.noreply.github.com>

--
September 07, 2017
https://issues.dlang.org/show_bug.cgi?id=17803

github-bugzilla@puremagic.com changed:

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

--
October 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17803

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/ba2a1cee1711f38268ab65dde49defc5768a5377 Fix issue 17803 std.typecons.Tuple: opAssign should return ref Tuple

https://github.com/dlang/phobos/commit/ccadf2530bb143701537f81141cb7f03bdba7506 Merge pull request #5713 from Biotronic/Issue-8494

--