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: [email protected]
Reporter: [email protected]
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.
--