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

Need give to compiler/linker' warning/errors some codes (like VC) #19445

Open
dlangBugzillaToGithub opened this issue Jun 9, 2018 · 2 comments

Comments

@dlangBugzillaToGithub
Copy link

a11e99z reported this on 2018-06-09T15:42:26Z

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

CC List

Description

ref to "what I mean/want" https://msdn.microsoft.com/en-us/library/zz3ext39.aspx

when I compile my code I got:
> Error: `evt += hz` is not a scalar, it is a `main.Event!(int, string)`
I should remove some text from this error to google it
> to google: Error: is not a scalar, it is a
(after all I still don't understand what wrong with my opOpAssign but)
BETTER to give for warnings/errors codes like DE0005 or DW0220 and prints it like
> Error DE0005: `evt += hz` is not a scalar, it is a `main.Event!(int, string)`

D-prefix is good for Dlang: DE* for errors, DW* for warnings, DL* for linker for example

than I will google it like "dlang DE0005" without cuts unnecessary text and I think that I will find more accurate results with more clear explanations
@dlangBugzillaToGithub
Copy link
Author

black80 commented on 2018-06-09T16:08:31Z

you can change the error text to something more digestible over time, but the error code will remain the same, and you can still find old messages about the error and new ones

@dlangBugzillaToGithub
Copy link
Author

pro.mathias.lang (@Geod24) commented on 2020-06-10T03:40:11Z

Transferring to DMD as that's where the enhancement should be.

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