Simple and effective approaches to constraint error messages

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 25 11:51:10 PDT 2016


On 04/25/2016 02:17 PM, Daniel N wrote:
> Currently when the compiler is in "__traits(compiles" or "is(typeof"
> mode, it simply gags all errors, if it instead would save them to a side
> buffer. Later the entire side-buffer could be dumped after a template
> constraint totally failed. If a constraint succeeds the buffer is cleared.

Walter said that's liable to print a rather large and unstructured pile 
of messages. -- Andrei


More information about the Digitalmars-d mailing list