[Issue 11761] aa.byKey and aa.byValue are not forward ranges

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Aug 15 01:46:52 PDT 2014


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|DMD                         |druntime
            Summary|is(typeof(r.methodReturning |aa.byKey and aa.byValue are
                   |This) == typeof(r)) fails   |not forward ranges

--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Vladimir Panteleev from comment #0)
> Currently, associative arrays' byKey and byValue methods do not return
> forward ranges (although this was the intention). The isForwardRange check
> fails.

(In reply to hsteoh from comment #2)
> https://github.com/D-Programming-Language/druntime/pull/925

Change the "Component" field because it's druntime issue.

--


More information about the Digitalmars-d-bugs mailing list