digitalmars.D.bugs - [Issue 17602] New: improve message for deprecated enum comparison
- via Digitalmars-d-bugs (19/19) Jul 05 2017 https://issues.dlang.org/show_bug.cgi?id=17602
https://issues.dlang.org/show_bug.cgi?id=17602 Issue ID: 17602 Summary: improve message for deprecated enum comparison Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: kroeplin.d googlemail.com Currently, the message is misleading: Deprecation: Comparison between different enumeration types const(Status) and Status; If this behavior is intended consider using std.conv.asOriginalType The actual problem in this case is that different enumerations with the same name "Status" are defined in different modules. --
Jul 05 2017