[Issue 18961] New: Need give to compiler/linker' warning/errors some codes (like VC)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 9 15:42:26 UTC 2018


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

          Issue ID: 18961
           Summary: Need give to compiler/linker' warning/errors some
                    codes (like VC)
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: tools
          Assignee: nobody at puremagic.com
          Reporter: black80 at bk.ru

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

--


More information about the Digitalmars-d-bugs mailing list