DConf 2013 Day 3 Talk 2: Code Analysis for D with AnalyzeD by	Stefan Rohe
    bearophile 
    bearophileHUGS at lycos.com
       
    Thu Jun 13 08:00:59 PDT 2013
    
    
  
Adam D. Ruppe:
> These are pretty easy to add to dmd. In doc.c's 
> FuncDelaration::toDocBuffer you can throw in something like 
> this:
>             if(frequire)
>                 buf->writestring(frequire->toChars());
>             if(fensure)
>                 buf->writestring(fensure->toChars());
>
> with a little cleanup and a wrapper macro and I think that 
> would be good.
Maybe with a compiler switch syntax like:
-D:+-switch1,...,+-switchn
Using a command like?
-D:+contracts
Bye,
bearophile
    
    
More information about the Digitalmars-d-announce
mailing list