www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DDoc ignores mixins

reply Gor Gyolchanyan <gor.f.gyolchanyan gmail.com> writes:
Is it supposed to be like this?

/// Generates docs for the constructor
struct A
{
    ///
    this(int i) { }
}

/// Does not generate docs for the constructor
Struct B
{
    ///
    mixin("this(int i) { }");
}

-- 
Bye,
Gor Gyolchanyan.
May 06 2012
parent Jacob Carlborg <doob me.com> writes:
On 2012-05-06 14:17, Gor Gyolchanyan wrote:
 Is it supposed to be like this?

 /// Generates docs for the constructor
 struct A
 {
      ///
      this(int i) { }
 }

 /// Does not generate docs for the constructor
 Struct B
 {
      ///
      mixin("this(int i) { }");
 }
http://d.puremagic.com/issues/show_bug.cgi?id=648 http://d.puremagic.com/issues/show_bug.cgi?id=2420 -- /Jacob Carlborg
May 06 2012