[Issue 22753] New: Deprecation message for import module shouldn't produce hifen when no message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 9 20:54:11 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22753

          Issue ID: 22753
           Summary: Deprecation message for import module shouldn't
                    produce hifen when no message
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: contact at lsferreira.net

The deprecation message displayed by the compiler includes an hifen when the
message is empty. The compiler should detect the length of the message and
include it only if there is a meaningful message (if there is a message and it
is not null and not empty).

--


More information about the Digitalmars-d-bugs mailing list