On Wednesday, 3 July 2019 at 05:13:34 UTC, Andre Pany wrote:

Hi,

for this coding

```
import std;

void main()
{
assert("abc123".all!(c => (c.isAlpha && c.isUpper == false) || c.isDigit));
}
```


2.087.0 RC throws an error:

C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\searching.d(123): Error: static 
assert:  "_lambda isn't a unary predicate function for range.front"
unary.d(5):        instantiated from here: all!string

Is this a bug?

Kind regards
André

Both, std.uni and std.ascii have isAlpha and isUpper.

Reply via email to