On 11/15/12, bearophile <[email protected]> wrote:
> Currently in D if you have a documentation comment like this it
> generates no warnings or notes

So you open dlang.org, hit the edit button, and fix it. Doing
semantics in comments is beyond overkill.

And soon enough we won't have to use "---"-style comments for code
snippets anymore because the compiler will auto-insert the code from
the next ddoc'ed unittests as ddoc'ed code samples (there is a pull
ready but it requires a review, and perhaps a rewrite since the
implementation is cheating a little bit).

Reply via email to