View mode: basic / threaded / horizontal-split · Log in · Help
May 06, 2012
DDoc ignores mixins
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
Re: DDoc ignores mixins
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
Top | Discussion index | About this forum | D home