[Issue 21356] New: mixin of mixin template in indexed tuple not allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 2 16:29:24 UTC 2020


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

          Issue ID: 21356
           Summary: mixin of mixin template in indexed tuple not allowed
           Product: D
           Version: D2
          Hardware: x86
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: destructionator at gmail.com

Easier to describe in code:

---
struct A {
        mixin template Foo() {}
}

alias AliasSeq(A...) = A;

alias thing = AliasSeq!(A);

mixin thing[0].Foo; // error
---

--


More information about the Digitalmars-d-bugs mailing list