April 05, 2023
https://issues.dlang.org/show_bug.cgi?id=23823

          Issue ID: 23823
           Summary: Deprecated class alias ignored completely
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: elpenguino+D@gmail.com

No deprecation warnings are printed with this code:
```
alias Alias(alias A) = A;
class S {
    deprecated alias value1 = Alias!(5);
}
alias shouldWarn = S.value1;
```
The shouldWarn alias should produce a deprecation warning.

--