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: [email protected]
          Reporter: [email protected]

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.

--

Reply via email to