[Issue 18560] find on infinite ranges is broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 6 11:09:09 UTC 2018


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

--- Comment #1 from FeepingCreature <default_357-line at yahoo.de> ---
The actual problem seems to be that expression.empty actually presumes that
expression terminates. So when .all checks for find.empty, it fails to account
for the case that find does not terminate, in which situation the behavior is
logically undefined.

--


More information about the Digitalmars-d-bugs mailing list