Thread overview
[Issue 16582] [REG2.072.0-b1] ParamterDefaultValueTuple fails to compile for scope paramters
Oct 03, 2016
Sönke Ludwig
Oct 15, 2016
Martin Nowak
Oct 15, 2016
Walter Bright
Oct 16, 2016
Sönke Ludwig
Oct 16, 2016
Martin Nowak
October 03, 2016
https://issues.dlang.org/show_bug.cgi?id=16582

Sönke Ludwig <sludwig@outerproduct.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|dmd                         |phobos

--
October 15, 2016
https://issues.dlang.org/show_bug.cgi?id=16582

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu

--- Comment #1 from Martin Nowak <code@dawg.eu> ---
Introduced by https://github.com/dlang/dmd/pull/5903.

--
October 15, 2016
https://issues.dlang.org/show_bug.cgi?id=16582

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
And apparently fixed by https://github.com/dlang/dmd/pull/5972

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

--- Comment #3 from Sönke Ludwig <sludwig@outerproduct.org> ---
But still a regression in 2.072.0, even if #5972 gets merged for 2.073.0.

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

Martin Nowak <code@dawg.eu> changed:

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

--- Comment #4 from Martin Nowak <code@dawg.eu> ---
Somewhat hacky workaround for ParameterDefaults. https://github.com/dlang/phobos/pull/4864

If more problems w/ the scope checks pop up, we might have to back-off that error.

--
October 17, 2016
https://issues.dlang.org/show_bug.cgi?id=16582

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

https://github.com/dlang/phobos/commit/f783d975a28febea3a323bae3ce5f902cec17aa9 fix Issue 16582 - ParameterDefaults fails w/ scope parameter

- workaround scope escape error to get default parameter
- would require a working `return scope` for a proper implementation

https://github.com/dlang/phobos/commit/e333b7ad4e69b603bc9dfc1cb74593baf43b2193 Merge pull request #4864 from MartinNowak/fix16582

fix Issue 16582 - ParameterDefaults fails w/ scope parameter

--
October 17, 2016
https://issues.dlang.org/show_bug.cgi?id=16582

github-bugzilla@puremagic.com changed:

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

--
November 20, 2016
https://issues.dlang.org/show_bug.cgi?id=16582

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

https://github.com/dlang/phobos/commit/f783d975a28febea3a323bae3ce5f902cec17aa9 fix Issue 16582 - ParameterDefaults fails w/ scope parameter

https://github.com/dlang/phobos/commit/e333b7ad4e69b603bc9dfc1cb74593baf43b2193 Merge pull request #4864 from MartinNowak/fix16582

--
December 27, 2016
https://issues.dlang.org/show_bug.cgi?id=16582

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

https://github.com/dlang/phobos/commit/f783d975a28febea3a323bae3ce5f902cec17aa9 fix Issue 16582 - ParameterDefaults fails w/ scope parameter

https://github.com/dlang/phobos/commit/e333b7ad4e69b603bc9dfc1cb74593baf43b2193 Merge pull request #4864 from MartinNowak/fix16582

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

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

https://github.com/dlang/phobos/commit/f783d975a28febea3a323bae3ce5f902cec17aa9 fix Issue 16582 - ParameterDefaults fails w/ scope parameter

https://github.com/dlang/phobos/commit/e333b7ad4e69b603bc9dfc1cb74593baf43b2193 Merge pull request #4864 from MartinNowak/fix16582

--