[Issue 13864] tuple expand causes range violation

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Dec 16 08:11:10 PST 2014


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

--- Comment #2 from Vlad Levenfeld <vlevenfeld at gmail.com> ---
I'm using git HEAD, I still get the range violation. Not only that but this:

        auto y = x[0];
        auto z = x[0.tuple.expand]; // ok

runs fine. (got rid of writeln)

but also this:

        auto y = x[0];
        writeln (x[0.tuple.expand]); // ok

and this:
        writeln  (x[0]);
        auto z = x[0.tuple.expand]; // ok

not sure whats going on, I just recompiled dmd from the latest

--


More information about the Digitalmars-d-bugs mailing list