Thread overview
[Issue 11529] Unclear error message when rvalue is passed as `ref'
Sep 21, 2015
Sobirari Muhomori
Sep 21, 2015
Sobirari Muhomori
Dec 30, 2017
Nick Treleaven
Dec 30, 2017
Nick Treleaven
Dec 30, 2017
Nick Treleaven
Apr 02, 2021
Dlang Bot
September 21, 2015
https://issues.dlang.org/show_bug.cgi?id=11529

--- Comment #2 from Sobirari Muhomori <dfj1esp02@sneakemail.com> ---
It's also a problem for functions with many parameters to determine, which parameter was passed with a wrong argument.

--
September 21, 2015
https://issues.dlang.org/show_bug.cgi?id=11529

Sobirari Muhomori <dfj1esp02@sneakemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic

--
December 30, 2017
https://issues.dlang.org/show_bug.cgi?id=11529

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org

--- Comment #3 from Nick Treleaven <nick@geany.org> ---
https://github.com/dlang/dmd/pull/7554

--
December 30, 2017
https://issues.dlang.org/show_bug.cgi?id=11529

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc

--- Comment #4 from Nick Treleaven <nick@geany.org> ---
*** Issue 12019 has been marked as a duplicate of this issue. ***

--
December 30, 2017
https://issues.dlang.org/show_bug.cgi?id=11529

Nick Treleaven <nick@geany.org> changed:

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

--- Comment #5 from Nick Treleaven <nick@geany.org> ---
*** Issue 13655 has been marked as a duplicate of this issue. ***

--
January 26, 2018
https://issues.dlang.org/show_bug.cgi?id=11529

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

https://github.com/dlang/dmd/commit/ff99241a38068e85af6e2625e10ce78b2201de57 Fix Issue 11529 - Unclear error message when rvalue is passed as `ref'

Also hide separate parameter type when already shown.

https://github.com/dlang/dmd/commit/fcc69c18c439009508e1e57ea1f91970ffdf9b2b Merge pull request #7554 from ntrel/qual-arg

Fix Issue 15613, 11529: Show parameter mismatch and rvalue/lvalue ref message merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>

--
January 26, 2018
https://issues.dlang.org/show_bug.cgi?id=11529

github-bugzilla@puremagic.com changed:

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

--
April 02, 2021
https://issues.dlang.org/show_bug.cgi?id=11529

--- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #12339 "[dmd-cxx] Backport fixes and trivial features from upstream dmd" was merged into dmd-cxx:

- 8f461425adb1e69bf02abf88b4e73585316b05af by Nick Treleaven:
  [dmd-cxx] Fix Issue 15613, 11529: Show parameter mismatch and rvalue/lvalue
ref message

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

--