Thread overview
[Issue 2420] New: mixins are not considered in ddoc
Oct 15, 2008
d-bugmail
Oct 15, 2008
d-bugmail
Dec 08, 2008
d-bugmail
Feb 19, 2010
Brad Roberts
[Issue 2420] string mixins are not considered in ddoc
Jan 14, 2013
Walter Bright
October 15, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2420

           Summary: mixins are not considered in ddoc
           Product: D
           Version: 1.033
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: minor
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: default_357-line@yahoo.de


Consider the following code:

module test108;

// this works and shows up
/// Test 1
void test1() { }

// doesn't show up
mixin("/// Test 2");
void test2() { }

// doesn't show up either
mixin("/// Test 3
void test3() { }");

If this were fixed, documentation could be moved to an external text file and handled via CTFE and import.


-- 

October 15, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2420


shro8822@vandals.uidaho.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shro8822@vandals.uidaho.edu




------- Comment #1 from shro8822@vandals.uidaho.edu  2008-10-15 16:46 -------

Vote++

I have s pile-o-code that would benefit from this as I am generating functions an would like to be able to generate docs as well.

(OT but it would be nice if decent also autocompleted for mixin() code)


-- 

December 08, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2420





------- Comment #2 from llucax@gmail.com  2008-12-08 08:45 -------
This bug is very close to bug 648.


-- 

February 19, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=2420


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc


--- Comment #3 from Brad Roberts <braddr@puremagic.com> 2010-02-18 21:28:20 PST ---
*** Issue 3829 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 14, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=2420


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.033                       |D1 & D2
         OS/Version|Other                       |All
           Severity|minor                       |enhancement


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------