[Issue 23791] Rvalue default argument for ref parameter gives misleading error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 9 12:04:00 UTC 2023


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dmd pull request #15596 "Fix isLvalue error message"
fixing this issue:

- Fix isLvalue error message

  Requiring an lvalue is not the same as requiring modification.

  Fix Issue 23791 - Rvalue default argument for ref parameter gives misleading
error.

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

--


More information about the Digitalmars-d-bugs mailing list