www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21149] New: templatized alias instances are not coun ted with

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 puremagic.com
          Reporter: b2.temp 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)
--
Aug 12 2020