[Issue 23769] Lambda isn't a unary predicate for lambda that doesn't compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 11 13:32:14 UTC 2023


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

Nick Treleaven <nick at geany.org> changed:

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

--- Comment #1 from Nick Treleaven <nick at geany.org> ---
This is essentially the same as issue 13683, though that was fixed by adding
the static assert, though the message doesn't mention that the lambda may not
be valid. (It was then widened afterwards and reopened because `all` is unusual
in that it uses a static assert instead of a constraint and the rest of Phobos
would need adjusting to do the same).

--


More information about the Digitalmars-d-bugs mailing list