Thread overview
[Issue 23956] [REG2.099.0] Can't decide between const and non-const overload with lambda
Jun 02, 2023
Vladimir Panteleev
Jun 02, 2023
Vladimir Panteleev
Jun 02, 2023
mhh
Jun 02, 2023
Vladimir Panteleev
June 02, 2023
https://issues.dlang.org/show_bug.cgi?id=23956

--- Comment #1 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
Introduced in https://github.com/dlang/dmd/pull/13267

--
June 02, 2023
https://issues.dlang.org/show_bug.cgi?id=23956

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

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

--- Comment #2 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
> called with argument types `(void)`

Misleading diagnostic, BTW. (Templates have type "void" for some D 0.0x
reasons.)

--
June 02, 2023
https://issues.dlang.org/show_bug.cgi?id=23956

mhh <maxhaton@gmail.com> changed:

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

--- Comment #3 from mhh <maxhaton@gmail.com> ---
Looks like it used to fail prior to 2.075.1 as well

--
June 02, 2023
https://issues.dlang.org/show_bug.cgi?id=23956

--- Comment #4 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
Yes, originally implemented in https://github.com/dlang/dmd/pull/6731

--