April 05, 2023 [Issue 23826] New: Deprecated type member passed to template doesn't warn | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: default_357-line@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. -- |
Copyright © 1999-2021 by the D Language Foundation