Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abbreviate too long type definitions in error messages #17803

Open
dlangBugzillaToGithub opened this issue Jul 5, 2017 · 1 comment
Open

Comments

@dlangBugzillaToGithub
Copy link

Alexey Kulentsov (@crimaniak) reported this on 2017-07-05T12:40:22Z

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

CC List

  • Dennis

Description

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.
@dlangBugzillaToGithub
Copy link
Author

dkorpel commented on 2022-05-26T10:42:43Z

Another example:
https://github.com/dlang/dmd/pull/14150#issuecomment-1138386085

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant