www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11587] New: Cannot compare AAs at compile time

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: yebblies gmail.com


--- Comment #0 from yebblies <yebblies 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: -------
Nov 23 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11587


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from yebblies <yebblies gmail.com> 2013-11-24 16:33:17 EST ---
https://github.com/D-Programming-Language/dmd/pull/2869

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 23 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11587



--- Comment #2 from github-bugzilla puremagic.com 2013-11-25 07:27:39 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/33c4e8d59d62e7abd09c808672104de9b242327f
Fix Issue 11587 - Cannot compare AAs at compile time

https://github.com/D-Programming-Language/dmd/commit/5c38c59876b4adfbe26d2ec421a8376d1bba6f0b
Merge pull request #2869 from yebblies/issue11587

Issue 11587 - Cannot compare AAs at compile time

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 25 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11587


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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