Quality of errors in DMD

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 5 16:22:57 PDT 2016


On Saturday, 3 September 2016 at 12:12:34 UTC, Walter Bright 
wrote:
> Except that asserts are checking for compiler bugs, not 
> diagnostics on user code. I don't expect users to debug the 
> compiler - if they get an assert they should file a bug report 
> to bugzilla and let us debug the compiler and fix it.
>

I suggest these assert come with a message explaining this is a 
compiler bug, and a link to the bug tracker + useful infos to 
include in the bug report in order to lower the barrier to get a 
bug report and make it clear to the user that it isn't a problem 
in their code with a obtuse error message.


More information about the Digitalmars-d mailing list