[Issue 19865] New: Deprecated enum values using deprecated expressions shouldn't be warned about
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat May 11 21:05:58 UTC 2019
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: nobody at puremagic.com
Reporter: d.bugs at webfreak.org
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.
--
More information about the Digitalmars-d-bugs
mailing list