Improving assert-printing in DMD

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 2 02:32:21 PDT 2015


On Thursday, 1 October 2015 at 17:19:39 UTC, Per Nordlöw wrote:
> On Thursday, 1 October 2015 at 14:37:55 UTC, Andrei 
> Alexandrescu wrote:
>> Whoever wants to work on better assert expression printing: 
>> make sure you specify which grammar constructs are supported, 
>> and how the parts involved are printed. Expressing semantics 
>> via lowering would be great. Write a DIP, discuss, implement. 
>> I'll have your six.
>>
>>
>> Andrei
>
> A first version:
>
> http://wiki.dlang.org/DIP83

I like the idea, I just have a practical question on 
std.experimental.testing: should it go ahead as-is? Should the 
custom assertions be removed and the rest kept? Should they go in 
as-is and then deleted when/if this DIP is implemented?

Atila


More information about the Digitalmars-d mailing list