www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22753] New: Deprecation message for import module shouldn't


          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 puremagic.com
          Reporter: contact 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).

Feb 09 2022