[Issue 15891] Compiler error when std.algorithm.cache and std.algorithm.joiner and map composed

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Apr 7 18:17:46 PDT 2016


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

Jonathan M Davis <issues.dlang at jmdavisProg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dlang at jmdavisProg.co
                   |                            |m
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--- Comment #1 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
r.cache.writeln

fails on its own. This looks like it's a problem specifically with cache and
not joiner, though it's not clear to me exactly what's going wrong. It looks
like it's complaining that caches[0] and caches[1] are assigned values in one
branch of the constructor and not another, but I have no idea why that would be
an error. I've never seen anything like that before.

--


More information about the Digitalmars-d-bugs mailing list