[Issue 19642] std.range.slide!(No.withPartial) on lengthless forward range: get empty when expecting one window

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 20 09:00:39 UTC 2023


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

FeepingCreature <default_357-line at yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |default_357-line at yahoo.de

--- Comment #2 from FeepingCreature <default_357-line at yahoo.de> ---
Another repro:

```
assert([false, true, false]
    .chunkBy!(a => a)
    .slide!(No.withPartial)(3)
    .count == 1);
```

--


More information about the Digitalmars-d-bugs mailing list