[Issue 15928] chain(r1, r2, r3, ...) should discard all arguments after the first infinite range

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Apr 15 11:28:52 PDT 2016


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

--- Comment #2 from Andrei Alexandrescu <andrei at erdani.com> ---
@Marc didn't think of that. But then what do you do when you come back and you
finish the bidir ranges after the infinite one. So then you have a non-empty
range that you can't pop back from anymore. The mind boggles...

I agree about refusal to compile - let it ride!

--


More information about the Digitalmars-d-bugs mailing list