[Issue 14325] New: [CTFE] Comparison of AAs makes wrong result
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Mar 24 08:25:44 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14325
Issue ID: 14325
Summary: [CTFE] Comparison of AAs makes wrong result
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: CTFE, wrong-code
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: k.hara.pg at gmail.com
Issue cases:
static assert([1: 1] != [1: 2, 2: 1]); // OK
static assert([1: 1] != [1: 2]); // OK
static assert([1: 1] != [2: 1]); // Error!
static assert([1: 1, 2:2] != [3: 3, 4:4]); // Error!
--
More information about the Digitalmars-d-bugs
mailing list