[Issue 21149] New: templatized alias instances are not coun ted with -vtemplates

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 12 10:51:09 UTC 2020


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

          Issue ID: 21149
           Summary: templatized alias instances are not coun ted with
                    -vtemplates
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

as noticed by Bordlow
(https://github.com/dlang/dmd/pull/11463#issuecomment-669936336)

compiles with - vtemplates

---
alias X(T) = T;
alias Y = X!(int);
---

>        1        0   X(T)

should be

>        1        1   X(T)

--


More information about the Digitalmars-d-bugs mailing list