[Issue 23826] New: Deprecated type member passed to template doesn't warn
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 5 07:41:56 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23826
Issue ID: 23826
Summary: Deprecated type member passed to template doesn't warn
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: default_357-line at yahoo.de
```
alias Alias(alias A) = A;
class S { deprecated alias value = Alias!5; }
enum identity(alias A) = A;
void main() { auto a = identity!(S.value); }
```
No deprecation message.
--
More information about the Digitalmars-d-bugs
mailing list