[Issue 11587] New: Cannot compare AAs at compile time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 23 21:29:30 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11587

           Summary: Cannot compare AAs at compile time
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: CTFE, rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: yebblies at gmail.com


--- Comment #0 from yebblies <yebblies at gmail.com> 2013-11-24 16:29:26 EST ---
static assert([1:2, 3:4] == [3:4, 1:2]);

testx.d(2): Error: cannot compare [1:2, 3:4] at compile time
testx.d(2):        while evaluating: static assert([1:2, 3:4] == [3:4, 1:2])

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


More information about the Digitalmars-d-bugs mailing list