[Issue 6934] [CTFE] std.range.transversal at compile-time too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 19 00:04:39 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6934


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2011-11-19 00:03:47 PST ---
Reduced test case:
------
struct Struct6934 {
    int[] x = [1,2];
}

void bar6934(ref int[] p) {
    p = p[1..$];
}

int bug6934() {
    Struct6934 q;
    bar6934(q.x);
    return 1;
}

static assert(bug6934());

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list