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

Nick Treleaven <[email protected]> changed:

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

--- Comment #1 from Nick Treleaven <[email protected]> ---
It now also prints e.g.:
badlambda.d(4):        cannot pass argument `__lambda2` of type `void` to
parameter `int function(int) f`

It would be nice if it said:
(4): Error: lambda returns `double`, expected `int`
(5): Error: lambda does not accept arguments `(int)`

--

Reply via email to