trait for (ddoc)-comments

Chris Cain clcain at uncg.edu
Mon Aug 20 16:18:26 PDT 2012


On Monday, 20 August 2012 at 22:41:33 UTC, bearophile wrote:
> I hope Andrei will comment a little. It's a very simple 
> additive change, and it looks useful.


Although I like the idea and wouldn't mind seeing something like 
this implemented, I disagree that it's a very simple change. It 
would require that there be some sort of standard for associating 
comments with their respective methods/structs/classes. See 
nimrod's [1] way: the comments are actually part of the AST.

[1]: http://nimrod-code.org/manual.html#comments


More information about the Digitalmars-d mailing list