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

           Summary: [CTFE] cannot compare arrays of slices
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: clugd...@yahoo.com.au


--- Comment #0 from Don <clugd...@yahoo.com.au> 2012-04-26 01:15:11 PDT ---
bool bug7987() {
    int [7] a;
    int[][2] b = a[0..5];
    assert(b == b);
    return true;
}

static assert(bug7987());

bug.d(38): Error: b == b cannot be interpreted at compile time

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

Reply via email to