[Issue 17661] New isInputRange rejects valid input range

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Jul 17 15:51:03 PDT 2017


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

Andrei Alexandrescu <andrei at erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei at erdani.com

--- Comment #1 from Andrei Alexandrescu <andrei at erdani.com> ---
Can you try replacing the clause is(typeof((R r) => r.front)) with 

is(typeof((R r) => r.front)) || is(typeof((R r) return => r.front))

?

If that works you may want to create a PR with it. Thanks!

--


More information about the Digitalmars-d-bugs mailing list