[Issue 17599] New: Abbreviate too long type definitions in error messages

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 5 05:40:22 PDT 2017


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

          Issue ID: 17599
           Summary: Abbreviate too long type definitions in error messages
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: crimaniak at gmail.com

As a result of advanced metaprogramming capabilities, the description of the
generated types can be very long. Descriptions of such types in error messages
make it difficult to find the error message itself and often do not carry
useful information. Example:
https://forum.dlang.org/thread/kzevjbusdhizlucrvtzo@forum.dlang.org
Therefore, I propose to enter a parameter that allows you to shorten too long
type definitions in error messages.

--


More information about the Digitalmars-d-bugs mailing list