https://issues.dlang.org/show_bug.cgi?id=19865
Issue ID: 19865
Summary: Deprecated enum values using deprecated expressions
shouldn't be warned about
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
enum Foo {
a,
deprecated b,
}
enum Bar {
deprecated c = Foo.b
}
is generating the following deprecation notice:
a.d(7): Deprecation: enum member `a.Foo.b` is deprecated
Using deprecated values inside a deprecated field should not generate that
notice.
--