https://issues.dlang.org/show_bug.cgi?id=22189

          Issue ID: 22189
           Summary: type qualifier not applied to type tuple
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

alias AliasSeq(Args...) = Args;

alias T = AliasSeq!(int, float);
immutable(T) a;
immutable T b;

static assert(is(typeof(a) == typeof(a)));
static assert(is(typeof(b) == typeof(b)));
static assert(is(typeof(a) == typeof(b))); // Error: static assert:  `is((int,
float) == (immutable(int), immutable(float)))` is false

--

Reply via email to