DIP82: static unittest blocks

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 27 02:24:24 PDT 2015


On 2015-09-27 07:01, Jonathan M Davis wrote:
> This DIP provides a way to handle unittest blocks inside of templates
> which works with ddoc without compiling the unittest blocks into each
> instantiation.
>
> http://wiki.dlang.org/DIP82

How would this work in the compiler? Currently it only lexes and parses 
uninstantiated templates. I think that Andrei also wants to make the 
lexing and parsing lazy.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list