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
Comment #1 by black80 — 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
Comment #2 by pro.mathias.lang — 2020-06-10T03:40:11Z
Transferring to DMD as that's where the enhancement should be.
Comment #3 by robert.schadek — 2024-12-13T18:59:06Z