http://d.puremagic.com/issues/show_bug.cgi?id=648
Jonas Drewsen <jdrew...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdrew...@gmail.com --- Comment #2 from Jonas Drewsen <jdrew...@gmail.com> 2012-01-21 11:50:17 PST --- (In reply to comment #1) > (In reply to comment #0) > > /// this is a class > > class A > > { > > /// This mixin will bla bla bla > > mixin MyMixin!(); > > } > > > > this will only generate docs for the class. not the mixin. > > Some will probably consider this a feature request, but I'd call it a bug... > > > > The same occurs with mixin declarations (DMD 1.014 on linux): > > /// Documentation for foo. > mixin("int foo;"); > > mixin("int foo; /// Documentation for foo."); > > And docs are not generated for foo or bar. > > Gregor Richards pointed out in > news://news.digitalmars.com:119/f1m3u7$26g8$1...@digitalmars.com > that mixins are parsed much later than ddoc comments. > > But I would also consider this a bug. Comment 1 is a duplicate of bug 2420 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------