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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from [email protected] ---
Lambda is a delegate in this context. I'm testing with v2.096.0 release
canditate and latest Phobos.

This bug does not trigger only with lambda, it triggers with any delegate that
is not a class member function.

The documentation does warn that the delegates must be class delegates, but it
does not say that that they must be member function pointers. This needs to be
clarified, or preferably it should be made to work with non-member-function
delegates too.

--

Reply via email to