www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17599] New: Abbreviate too long type definitions in error

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

--
Jul 05