[Issue 22189] New: type qualifier not applied to type tuple

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 6 18:44:51 UTC 2021


          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: nobody at puremagic.com
          Reporter: john.loughran.colvin at gmail.com

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


More information about the Digitalmars-d-bugs mailing list